A sequence of glyphs with a common font and colour.
More...
#include <juce_TextLayout.h>
A sequence of glyphs with a common font and colour.
◆ Run() [1/2]
◆ Run() [2/2]
TextLayout::Run::Run |
( |
Range< int > | stringRange, |
|
|
int | numGlyphsToPreallocate ) |
◆ getRunBoundsX()
Range< float > TextLayout::Run::getRunBoundsX |
( |
| ) |
const |
|
noexcept |
Returns the X position range which contains all the glyphs in this run.
◆ font
◆ colour
Colour TextLayout::Run::colour { 0xff000000 } |
◆ glyphs
◆ stringRange
Range<int> TextLayout::Run::stringRange |
The character range that this run represents in the original string that was used to create it.
Referenced by Run().
The documentation for this class was generated from the following file: