Class: TECSCDE::TECSModel::PaperSpec
- Defined in:
- lib/tecscde/tecs_model.rb
Overview
Paper Size w/o margin (10 mm each side)
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#index ⇒ Object
Returns the value of attribute index.
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#orientation ⇒ Object
Returns the value of attribute orientation.
-
#size ⇒ Object
Returns the value of attribute size.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
141 142 143 |
# File 'lib/tecscde/tecs_model.rb', line 141 def height @height end |
#index ⇒ Object
Returns the value of attribute index
141 142 143 |
# File 'lib/tecscde/tecs_model.rb', line 141 def index @index end |
#key ⇒ Object
Returns the value of attribute key
141 142 143 |
# File 'lib/tecscde/tecs_model.rb', line 141 def key @key end |
#name ⇒ Object
Returns the value of attribute name
141 142 143 |
# File 'lib/tecscde/tecs_model.rb', line 141 def name @name end |
#orientation ⇒ Object
Returns the value of attribute orientation
141 142 143 |
# File 'lib/tecscde/tecs_model.rb', line 141 def orientation @orientation end |
#size ⇒ Object
Returns the value of attribute size
141 142 143 |
# File 'lib/tecscde/tecs_model.rb', line 141 def size @size end |
#width ⇒ Object
Returns the value of attribute width
141 142 143 |
# File 'lib/tecscde/tecs_model.rb', line 141 def width @width end |
Instance Method Details
#cairo_paper_class ⇒ Object
142 143 144 |
# File 'lib/tecscde/tecs_model.rb', line 142 def cairo_paper_class Cairo::Paper.const_get(@name) end |