Class: Labels::Barcode
Overview
This class represents barcode layers. For available symbologies and option descriptions see the Barcodes RubyGem library.
Instance Attribute Summary collapse
-
#bar_height ⇒ Object
Bar height in mils.
-
#bar_width ⇒ Object
Bar width in mils.
-
#caption_height ⇒ Object
Caption height in mils.
-
#caption_size ⇒ Object
Caption font size in mils.
-
#captioned ⇒ Object
Whether or not to print caption.
-
#color ⇒ Object
Color in hex.
-
#symbology ⇒ Object
Symbology.
Attributes inherited from Layer
#alpha, #column, #content, #height, #locked, #rotation, #title, #type, #visible, #width, #x, #y, #z
Method Summary
Methods inherited from Element
Constructor Details
This class inherits a constructor from Labels::Element
Instance Attribute Details
#bar_height ⇒ Object
Bar height in mils
25 26 27 |
# File 'lib/labels/barcode.rb', line 25 def @bar_height end |
#bar_width ⇒ Object
Bar width in mils
22 23 24 |
# File 'lib/labels/barcode.rb', line 22 def @bar_width end |
#caption_height ⇒ Object
Caption height in mils
31 32 33 |
# File 'lib/labels/barcode.rb', line 31 def caption_height @caption_height end |
#caption_size ⇒ Object
Caption font size in mils
34 35 36 |
# File 'lib/labels/barcode.rb', line 34 def caption_size @caption_size end |
#captioned ⇒ Object
Whether or not to print caption
37 38 39 |
# File 'lib/labels/barcode.rb', line 37 def captioned @captioned end |
#color ⇒ Object
Color in hex
28 29 30 |
# File 'lib/labels/barcode.rb', line 28 def color @color end |
#symbology ⇒ Object
Symbology
19 20 21 |
# File 'lib/labels/barcode.rb', line 19 def symbology @symbology end |