An attribute that has been applied to a range of characters in an AttributedString.
More...
|
const Range< int > | range |
| The range of characters to which this attribute will be applied. More...
|
|
An attribute that has been applied to a range of characters in an AttributedString.
AttributedString::Attribute::Attribute |
( |
Range< int > |
range, |
|
|
Colour |
colour |
|
) |
| |
AttributedString::Attribute::Attribute |
( |
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: