Class: Idml::TextEngine::PositionedGlyph

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

Overview

A glyph with absolute (x, y) position, ready for rendering.

Instance Attribute Summary collapse

Instance Attribute Details

#codepointObject

Returns the value of attribute codepoint

Returns:

  • (Object)

    the current value of codepoint



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

def codepoint
  @codepoint
end

#font_sizeObject

Returns the value of attribute font_size

Returns:

  • (Object)

    the current value of font_size



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

def font_size
  @font_size
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



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

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



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

def y
  @y
end