JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::AttributedString::Attribute Class Reference

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

#include "juce_AttributedString.h"

Public Member Functions

 Attribute (const Attribute &)=default
 
Attributeoperator= (const Attribute &)=default
 
 Attribute (Attribute &&) noexcept=default
 
Attributeoperator= (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< intrange
 The range of characters to which this attribute will be applied.
 
Font font
 The font for this range of characters.
 
Colour colour
 The colour for this range of characters.
 

Detailed Description

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

Definition at line 152 of file juce_AttributedString.h.

Constructor & Destructor Documentation

◆ Attribute()

juce::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.

Definition at line 155 of file juce_AttributedString.cpp.

Member Data Documentation

◆ colour

Colour juce::AttributedString::Attribute::colour

The colour for this range of characters.

Definition at line 172 of file juce_AttributedString.h.

◆ font

Font juce::AttributedString::Attribute::font

The font for this range of characters.

Definition at line 169 of file juce_AttributedString.h.

◆ range

Range<int> juce::AttributedString::Attribute::range

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

Definition at line 166 of file juce_AttributedString.h.


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