Class: GMetrics

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

Instance Attribute Summary collapse

Instance Attribute Details

#advance_widthObject

Returns the value of attribute advance_width

Returns:

  • (Object)

    the current value of advance_width



1
2
3
# File 'lib/skrift.rb', line 1

def advance_width
  @advance_width
end

#left_side_bearingObject

Returns the value of attribute left_side_bearing

Returns:

  • (Object)

    the current value of left_side_bearing



1
2
3
# File 'lib/skrift.rb', line 1

def left_side_bearing
  @left_side_bearing
end

#min_heightObject

Returns the value of attribute min_height

Returns:

  • (Object)

    the current value of min_height



1
2
3
# File 'lib/skrift.rb', line 1

def min_height
  @min_height
end

#min_widthObject

Returns the value of attribute min_width

Returns:

  • (Object)

    the current value of min_width



1
2
3
# File 'lib/skrift.rb', line 1

def min_width
  @min_width
end

#y_offsetObject

Returns the value of attribute y_offset

Returns:

  • (Object)

    the current value of y_offset



1
2
3
# File 'lib/skrift.rb', line 1

def y_offset
  @y_offset
end