openshot-audio
0.1.7
|
#include <juce_graphics.h>
Public Member Functions | |
Attribute (Range< int > range, Colour colour) | |
Attribute (Range< int > range, const Font &font) | |
Attribute (const Attribute &) | |
~Attribute () | |
const Font * | getFont () const noexcept |
const Colour * | getColour () const noexcept |
Public Attributes | |
const Range< int > | range |
Friends | |
class | AttributedString |
An attribute that has been applied to a range of characters in an AttributedString.
Creates an attribute that changes the colour for a range of characters.
Creates an attribute that changes the font for a range of characters.
AttributedString::Attribute::~Attribute | ( | ) |
If this attribute specifies a colour, this returns it; otherwise it returns nullptr.
If this attribute specifies a font, this returns it; otherwise it returns nullptr.
|
friend |
The range of characters to which this attribute will be applied.