Class: Ucode::Glyphs::EmbeddedFonts::ContentStreamCorrelator::Use

Inherits:
Struct
  • Object
show all
Defined in:
lib/ucode/glyphs/embedded_fonts/content_stream_correlator.rb

Overview

Internal value object for a parsed ‘<use>` element. Public so the spec can construct realistic fixtures without re-implementing the parser shape.

Instance Attribute Summary collapse

Instance Attribute Details

#font_idObject

Returns the value of attribute font_id

Returns:

  • (Object)

    the current value of font_id



62
63
64
# File 'lib/ucode/glyphs/embedded_fonts/content_stream_correlator.rb', line 62

def font_id
  @font_id
end

#gidObject

Returns the value of attribute gid

Returns:

  • (Object)

    the current value of gid



62
63
64
# File 'lib/ucode/glyphs/embedded_fonts/content_stream_correlator.rb', line 62

def gid
  @gid
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



62
63
64
# File 'lib/ucode/glyphs/embedded_fonts/content_stream_correlator.rb', line 62

def text
  @text
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



62
63
64
# File 'lib/ucode/glyphs/embedded_fonts/content_stream_correlator.rb', line 62

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



62
63
64
# File 'lib/ucode/glyphs/embedded_fonts/content_stream_correlator.rb', line 62

def y
  @y
end