Class: Text2Path::Glyph
- Inherits:
-
Struct
- Object
- Struct
- Text2Path::Glyph
- Defined in:
- lib/text2path/glyph.rb,
lib/text2path/glyph.rb
Instance Attribute Summary collapse
-
#horiz_adv_x ⇒ Object
Returns the value of attribute horiz_adv_x.
-
#horiz_adv_y ⇒ Object
Returns the value of attribute horiz_adv_y.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#horiz_adv_x ⇒ Object
Returns the value of attribute horiz_adv_x
3 4 5 |
# File 'lib/text2path/glyph.rb', line 3 def horiz_adv_x @horiz_adv_x end |
#horiz_adv_y ⇒ Object
Returns the value of attribute horiz_adv_y
3 4 5 |
# File 'lib/text2path/glyph.rb', line 3 def horiz_adv_y @horiz_adv_y end |
#path ⇒ Object
Returns the value of attribute path
3 4 5 |
# File 'lib/text2path/glyph.rb', line 3 def path @path end |
Instance Method Details
#empty? ⇒ Boolean
7 8 9 |
# File 'lib/text2path/glyph.rb', line 7 def empty? !path || path.empty? end |