#include <juce_graphics.h>
An attribute that has been applied to a range of characters in an AttributedString.
◆ Attribute() [1/3]
AttributedString::Attribute::Attribute |
( |
Range< int > |
range, |
|
|
Colour |
colour |
|
) |
| |
◆ Attribute() [2/3]
AttributedString::Attribute::Attribute |
( |
Range< int > |
range, |
|
|
const Font & |
font |
|
) |
| |
◆ Attribute() [3/3]
AttributedString::Attribute::Attribute |
( |
const Attribute & |
other | ) |
|
◆ ~Attribute()
AttributedString::Attribute::~Attribute |
( |
| ) |
|
◆ getColour()
const Colour* juce::AttributedString::Attribute::getColour |
( |
| ) |
const |
|
inlinenoexcept |
If this attribute specifies a colour, this returns it; otherwise it returns nullptr.
◆ getFont()
const Font* juce::AttributedString::Attribute::getFont |
( |
| ) |
const |
|
inlinenoexcept |
If this attribute specifies a font, this returns it; otherwise it returns nullptr.
◆ AttributedString
◆ range
const Range<int> juce::AttributedString::Attribute::range |
The range of characters to which this attribute will be applied.
The documentation for this class was generated from the following files: