Class: Idml::TextEngine::PositionedGlyph
- Inherits:
-
Struct
- Object
- Struct
- Idml::TextEngine::PositionedGlyph
- Defined in:
- lib/idml/text_engine/vertical_layout.rb
Overview
A glyph with absolute (x, y) position, ready for rendering.
Instance Attribute Summary collapse
-
#codepoint ⇒ Object
Returns the value of attribute codepoint.
-
#font_size ⇒ Object
Returns the value of attribute font_size.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#codepoint ⇒ Object
Returns the value of attribute codepoint
6 7 8 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 6 def codepoint @codepoint end |
#font_size ⇒ Object
Returns the value of attribute font_size
6 7 8 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 6 def font_size @font_size end |
#x ⇒ Object
Returns the value of attribute x
6 7 8 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 6 def x @x end |
#y ⇒ Object
Returns the value of attribute y
6 7 8 |
# File 'lib/idml/text_engine/vertical_layout.rb', line 6 def y @y end |