Class: Zint::Structs::VectorHexagon
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Zint::Structs::VectorHexagon
- Defined in:
- lib/zint/structs/vector_hexagon.rb
Instance Method Summary collapse
-
#diameter ⇒ Object
diameter.
-
#rotation ⇒ Object
0, 90, 180, 270 degrees.
-
#x ⇒ Object
x position.
-
#y ⇒ Object
y position.
Instance Method Details
#diameter ⇒ Object
diameter
21 22 23 |
# File 'lib/zint/structs/vector_hexagon.rb', line 21 def diameter self[:diameter] end |
#rotation ⇒ Object
0, 90, 180, 270 degrees
26 27 28 |
# File 'lib/zint/structs/vector_hexagon.rb', line 26 def rotation self[:rotation] end |
#x ⇒ Object
x position
11 12 13 |
# File 'lib/zint/structs/vector_hexagon.rb', line 11 def x self[:x] end |
#y ⇒ Object
y position
16 17 18 |
# File 'lib/zint/structs/vector_hexagon.rb', line 16 def y self[:y] end |