JUCE
Public Member Functions | Public Attributes | List of all members
AttributedString::Attribute Class Reference

An attribute that has been applied to a range of characters in an AttributedString. More...

Public Member Functions

 Attribute () noexcept
 
 ~Attribute () noexcept
 
 Attribute (const Attribute &) noexcept
 
Attributeoperator= (const Attribute &) noexcept
 
 Attribute (Attribute &&) noexcept
 
Attributeoperator= (Attribute &&) noexcept
 
 Attribute (Range< int > range, const Font &font, Colour colour) noexcept
 Creates an attribute that specifies the font and colour for a range of characters. More...
 

Public Attributes

Range< int > range
 The range of characters to which this attribute will be applied. More...
 
Font font
 The font for this range of characters. More...
 
Colour colour
 The colour for this range of characters. More...
 

Detailed Description

An attribute that has been applied to a range of characters in an AttributedString.

Constructor & Destructor Documentation

AttributedString::Attribute::Attribute ( )
noexcept
AttributedString::Attribute::~Attribute ( )
noexcept
AttributedString::Attribute::Attribute ( const Attribute )
noexcept
AttributedString::Attribute::Attribute ( Attribute &&  )
noexcept
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.

Member Function Documentation

Attribute& AttributedString::Attribute::operator= ( const Attribute )
noexcept
Attribute& AttributedString::Attribute::operator= ( Attribute &&  )
noexcept

Member Data Documentation

Range<int> AttributedString::Attribute::range

The range of characters to which this attribute will be applied.

Font AttributedString::Attribute::font

The font for this range of characters.

Colour AttributedString::Attribute::colour

The colour for this range of characters.


The documentation for this class was generated from the following file: