Class: Arrolio::TextLayout::KnuthPlass::Breaker::RunGroup
- Inherits:
-
Struct
- Object
- Struct
- Arrolio::TextLayout::KnuthPlass::Breaker::RunGroup
- 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
-
#chunk_widths ⇒ Object
Returns the value of attribute chunk_widths.
-
#signature ⇒ Object
Returns the value of attribute signature.
-
#text ⇒ Object
Returns the value of attribute text.
-
#x_offset ⇒ Object
Returns the value of attribute x_offset.
Instance Attribute Details
#chunk_widths ⇒ Object
Returns the value of attribute chunk_widths
79 80 81 |
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79 def chunk_widths @chunk_widths end |
#signature ⇒ Object
Returns the value of attribute signature
79 80 81 |
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79 def signature @signature end |
#text ⇒ Object
Returns the value of attribute text
79 80 81 |
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79 def text @text end |
#x_offset ⇒ Object
Returns the value of attribute x_offset
79 80 81 |
# File 'lib/arrolio/text_layout/knuth_plass/breaker.rb', line 79 def x_offset @x_offset end |