Class: Text2svg::Content

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



220
221
222
# File 'lib/text2svg/typography.rb', line 220

def data
  @data
end

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



220
221
222
# File 'lib/text2svg/typography.rb', line 220

def height
  @height
end

#notdef_indexesObject

Returns the value of attribute notdef_indexes

Returns:

  • (Object)

    the current value of notdef_indexes



220
221
222
# File 'lib/text2svg/typography.rb', line 220

def notdef_indexes
  @notdef_indexes
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



220
221
222
# File 'lib/text2svg/typography.rb', line 220

def width
  @width
end

Instance Method Details

#to_sObject



221
222
223
# File 'lib/text2svg/typography.rb', line 221

def to_s
  data
end