Class: Text2Path::Glyph

Inherits:
Struct
  • Object
show all
Defined in:
lib/text2path/glyph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#horiz_adv_xObject

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_yObject

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

#pathObject

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



5
6
7
# File 'lib/text2path/glyph.rb', line 5

def empty?
  !path || path.empty?
end