Class: Idml::TextEngine::Line

Inherits:
Struct
  • Object
show all
Defined in:
lib/idml/text_engine/line_breaker.rb

Overview

A line of shaped glyphs with its natural width.

Instance Attribute Summary collapse

Instance Attribute Details

#glyphsObject

Returns the value of attribute glyphs

Returns:

  • (Object)

    the current value of glyphs



6
7
8
# File 'lib/idml/text_engine/line_breaker.rb', line 6

def glyphs
  @glyphs
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



6
7
8
# File 'lib/idml/text_engine/line_breaker.rb', line 6

def width
  @width
end

#x_offsetObject

Returns the value of attribute x_offset

Returns:

  • (Object)

    the current value of x_offset



6
7
8
# File 'lib/idml/text_engine/line_breaker.rb', line 6

def x_offset
  @x_offset
end