Class: Arrolio::TextLayout::KnuthPlass::Breaker::RunGroup

Inherits:
Struct
  • Object
show all
Defined in:
lib/arrolio/text_layout/knuth_plass/breaker.rb

Overview

Internal: a run of same-signature text being merged into a single PlacedRun (one canvas.text call at render time).

Instance Attribute Summary collapse

Instance Attribute Details

#chunk_widthsObject

Returns the value of attribute chunk_widths

Returns:

  • (Object)

    the current value of chunk_widths



79
80
81
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79

def chunk_widths
  @chunk_widths
end

#signatureObject

Returns the value of attribute signature

Returns:

  • (Object)

    the current value of signature



79
80
81
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79

def signature
  @signature
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



79
80
81
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79

def text
  @text
end

#x_offsetObject

Returns the value of attribute x_offset

Returns:

  • (Object)

    the current value of x_offset



79
80
81
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79

def x_offset
  @x_offset
end