Class: Idml::TextEngine::PositionedLine
- Inherits:
-
Struct
- Object
- Struct
- Idml::TextEngine::PositionedLine
- Defined in:
- lib/idml/text_engine/vertical_layout.rb
Overview
A line that's been positioned absolutely within a frame.
glyphs is the original ShapedGlyph array (carrying widths);
x, y is the left edge / baseline; width is the line's
natural width after justification.
Instance Attribute Summary collapse
-
#glyphs ⇒ Object
Returns the value of attribute glyphs.
-
#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
#glyphs ⇒ Object
Returns the value of attribute glyphs
18 19 20 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 18 def glyphs @glyphs end |
#width ⇒ Object
Returns the value of attribute width
18 19 20 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 18 def width @width end |
#x ⇒ Object
Returns the value of attribute x
18 19 20 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 18 def x @x end |
#y ⇒ Object
Returns the value of attribute y
18 19 20 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 18 def y @y end |