Class: Zint::Bitmap
- Inherits:
-
Struct
- Object
- Struct
- Zint::Bitmap
- Defined in:
- lib/zint/bitmap.rb
Overview
A class to represents a pixel from the bitmap
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#pixels ⇒ Object
Returns the value of attribute pixels.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
3 4 5 |
# File 'lib/zint/bitmap.rb', line 3 def height @height end |
#pixels ⇒ Object
Returns the value of attribute pixels
3 4 5 |
# File 'lib/zint/bitmap.rb', line 3 def pixels @pixels end |
#width ⇒ Object
Returns the value of attribute width
3 4 5 |
# File 'lib/zint/bitmap.rb', line 3 def width @width end |