Class: Idml::TextEngine::Frame
- Inherits:
-
Struct
- Object
- Struct
- Idml::TextEngine::Frame
- Defined in:
- lib/idml/text_engine/vertical_layout.rb
Overview
Geometry of a text frame as seen by the layout engine: outer bounds plus the four inset margins. Inset values are nil when the TextFramePreference doesn't declare them.
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#inset_bottom ⇒ Object
Returns the value of attribute inset_bottom.
-
#inset_left ⇒ Object
Returns the value of attribute inset_left.
-
#inset_right ⇒ Object
Returns the value of attribute inset_right.
-
#inset_top ⇒ Object
Returns the value of attribute inset_top.
-
#width ⇒ Object
Returns the value of attribute width.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def height @height end |
#inset_bottom ⇒ Object
Returns the value of attribute inset_bottom
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def inset_bottom @inset_bottom end |
#inset_left ⇒ Object
Returns the value of attribute inset_left
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def inset_left @inset_left end |
#inset_right ⇒ Object
Returns the value of attribute inset_right
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def inset_right @inset_right end |
#inset_top ⇒ Object
Returns the value of attribute inset_top
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def inset_top @inset_top end |
#width ⇒ Object
Returns the value of attribute width
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def width @width end |
#x ⇒ Object
Returns the value of attribute x
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def x @x end |
#y ⇒ Object
Returns the value of attribute y
8 9 10 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 8 def y @y end |