JUCE
|
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 |
|
defaultnoexcept |
|
noexcept |
Creates an attribute that specifies the font and colour for a range of characters.
The range of characters to which this attribute will be applied.
Font AttributedString::Attribute::font { FontOptions{} } |
The font for this range of characters.
Colour AttributedString::Attribute::colour { 0xff000000 } |
The colour for this range of characters.