A sequence of glyphs with a common font and colour. More...
#include <juce_TextLayout.h>
Public Member Functions | |
Run () noexcept | |
Run (const Run &) | |
Run (Range< int > stringRange, int numGlyphsToPreallocate) | |
~Run () noexcept | |
Range< float > | getRunBoundsX () const noexcept |
Returns the X position range which contains all the glyphs in this run. More... | |
Public Attributes | |
Colour | colour |
The run's colour. More... | |
Font | font |
The run's font. More... | |
Array< Glyph > | glyphs |
The glyphs in this run. More... | |
Range< int > | stringRange |
The character range that this run represents in the original string that was used to create it. More... | |
Private Member Functions | |
Run & | operator= (const Run &) |
A sequence of glyphs with a common font and colour.
|
noexcept |
juce::TextLayout::Run::Run | ( | const Run & | ) |
|
noexcept |
Returns the X position range which contains all the glyphs in this run.
Colour juce::TextLayout::Run::colour |
The run's colour.
Font juce::TextLayout::Run::font |
The run's font.
The character range that this run represents in the original string that was used to create it.