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