Class: Zint::Structs::VectorCircle

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/zint/structs/vector_circle.rb

Instance Method Summary collapse

Instance Method Details

#colourObject

Non-zero for draw with background colour



27
28
29
# File 'lib/zint/structs/vector_circle.rb', line 27

def colour
  self[:colour]
end

#diameterObject

diameter



22
23
24
# File 'lib/zint/structs/vector_circle.rb', line 22

def diameter
  self[:diameter]
end

#xObject

x position



12
13
14
# File 'lib/zint/structs/vector_circle.rb', line 12

def x
  self[:x]
end

#yObject

y position



17
18
19
# File 'lib/zint/structs/vector_circle.rb', line 17

def y
  self[:y]
end