Class: Zint::Structs::VectorCircle
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Zint::Structs::VectorCircle
- Defined in:
- lib/zint/structs/vector_circle.rb
Instance Method Summary collapse
-
#colour ⇒ Object
Non-zero for draw with background colour.
-
#diameter ⇒ Object
diameter.
-
#x ⇒ Object
x position.
-
#y ⇒ Object
y position.
Instance Method Details
#colour ⇒ Object
Non-zero for draw with background colour
27 28 29 |
# File 'lib/zint/structs/vector_circle.rb', line 27 def colour self[:colour] end |
#diameter ⇒ Object
diameter
22 23 24 |
# File 'lib/zint/structs/vector_circle.rb', line 22 def diameter self[:diameter] end |
#x ⇒ Object
x position
12 13 14 |
# File 'lib/zint/structs/vector_circle.rb', line 12 def x self[:x] end |
#y ⇒ Object
y position
17 18 19 |
# File 'lib/zint/structs/vector_circle.rb', line 17 def y self[:y] end |