An attribute that has been applied to a range of characters in an AttributedString. More...
Public Member Functions | |
Attribute ()=default | |
Attribute (const Attribute &)=default | |
Attribute & | operator= (const Attribute &)=default |
Attribute (Attribute &&) noexcept=default | |
Attribute & | operator= (Attribute &&) noexcept=default |
Attribute (Range< int > range, const Font &font, Colour colour) noexcept | |
Creates an attribute that specifies the font and colour for a range of characters. | |
Public Attributes | |
Range< int > | range |
The range of characters to which this attribute will be applied. | |
Font | font { FontOptions{} } |
The font for this range of characters. | |
Colour | colour { 0xff000000 } |
The colour for this range of characters. | |
An attribute that has been applied to a range of characters in an AttributedString.
|
default |
Referenced by Attribute(), Attribute(), Attribute(), operator=(), and operator=().
|
default |
References Attribute().
|
defaultnoexcept |
References Attribute().
|
noexcept |
Creates an attribute that specifies the font and colour for a range of characters.
References Attribute(), colour, font, and range.
References Attribute().
References Attribute().
Range<int> AttributedString::Attribute::range |
The range of characters to which this attribute will be applied.
Referenced by Attribute().
Font AttributedString::Attribute::font { FontOptions{} } |
The font for this range of characters.
Referenced by Attribute().
Colour AttributedString::Attribute::colour { 0xff000000 } |
The colour for this range of characters.
Referenced by Attribute().