A sequence of glyphs with a common font and colour.
Public Member Functions | |
| Run ()=default | |
| Run (Range< int > stringRange, int numGlyphsToPreallocate) | |
| Range< float > | getRunBoundsX () const noexcept |
| Returns the X position range which contains all the glyphs in this run. | |
Public Attributes | |
| Font | font { FontOptions{} } |
| The run's font. | |
| Colour | colour { 0xff000000 } |
| The run's colour. | |
| Array< Glyph > | glyphs |
| The glyphs in this run. | |
| Range< int > | stringRange |
| The character range that this run represents in the original string that was used to create it. | |
|
default |
| juce::TextLayout::Run::Run | ( | Range< int > | stringRange, |
| int | numGlyphsToPreallocate ) |
References stringRange.
|
noexcept |
Returns the X position range which contains all the glyphs in this run.
| Font juce::TextLayout::Run::font { FontOptions{} } |
The run's font.
| Colour juce::TextLayout::Run::colour { 0xff000000 } |
The run's colour.