An attribute that has been applied to a range of characters in an AttributedString.
More...
#include <juce_AttributedString.h>
|
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.
◆ Attribute() [1/4]
AttributedString::Attribute::Attribute |
( |
| ) |
|
|
default |
◆ Attribute() [2/4]
AttributedString::Attribute::Attribute |
( |
const Attribute & | | ) |
|
|
default |
◆ Attribute() [3/4]
AttributedString::Attribute::Attribute |
( |
Attribute && | | ) |
|
|
defaultnoexcept |
◆ Attribute() [4/4]
AttributedString::Attribute::Attribute |
( |
Range< int > | range, |
|
|
const Font & | font, |
|
|
Colour | colour ) |
|
noexcept |
Creates an attribute that specifies the font and colour for a range of characters.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ range
Range<int> AttributedString::Attribute::range |
The range of characters to which this attribute will be applied.
◆ font
The font for this range of characters.
◆ colour
Colour AttributedString::Attribute::colour { 0xff000000 } |
The colour for this range of characters.
The documentation for this class was generated from the following file: