An attribute that has been applied to a range of characters in an AttributedString.
More...
|
| | Attribute (const Range< int > &range, const Colour &colour) |
| | Creates an attribute that changes the colour for a range of characters.
|
| |
| | Attribute (const Range< int > &range, const Font &font) |
| | Creates an attribute that changes the font for a range of characters.
|
| |
| | Attribute (const Attribute &) |
| |
| | ~Attribute () |
| |
| const Font * | getFont () const noexcept |
| | If this attribute specifies a font, this returns it; otherwise it returns nullptr.
|
| |
| const Colour * | getColour () const noexcept |
| | If this attribute specifies a colour, this returns it; otherwise it returns nullptr.
|
| |
|
| const Range< int > | range |
| | The range of characters to which this attribute will be applied.
|
| |
An attribute that has been applied to a range of characters in an AttributedString.
| AttributedString::Attribute::Attribute |
( |
const Range< int > & |
range, |
|
|
const Colour & |
colour |
|
) |
| |
| AttributedString::Attribute::Attribute |
( |
const Range< int > & |
range, |
|
|
const Font & |
font |
|
) |
| |
| AttributedString::Attribute::Attribute |
( |
const Attribute & |
| ) |
|
| AttributedString::Attribute::~Attribute |
( |
| ) |
|
| const Font* AttributedString::Attribute::getFont |
( |
| ) |
const |
|
noexcept |
If this attribute specifies a font, this returns it; otherwise it returns nullptr.
| const Colour* AttributedString::Attribute::getColour |
( |
| ) |
const |
|
noexcept |
If this attribute specifies a colour, this returns it; otherwise it returns nullptr.
| const Range<int> AttributedString::Attribute::range |
The range of characters to which this attribute will be applied.
The documentation for this class was generated from the following file: