Represents a single OpenType variable font setting. More...
Public Member Functions | |
| constexpr | FontVariableSetting (FontFeatureTag variableTag, float variableValue) noexcept |
| Constructs a variable font setting with the specified variable tag and value. | |
| constexpr bool | operator< (const FontVariableSetting &other) const |
| constexpr bool | operator<= (const FontVariableSetting &other) const |
| constexpr bool | operator> (const FontVariableSetting &other) const |
| constexpr bool | operator>= (const FontVariableSetting &other) const |
| constexpr bool | operator!= (const FontVariableSetting &other) const |
| constexpr bool | operator== (const FontVariableSetting &other) const |
Public Attributes | |
| FontFeatureTag | tag |
| The OpenType variation axis tag. | |
| float | value |
| The value for this axis. | |
Represents a single OpenType variable font setting.
This allows for precise typographic control, enabling smooth transitions between different font styles without requiring separate font files for each variation.
Supported settings and ranges can be queried with Typeface::getSupportedVariables.
|
inlineconstexprnoexcept |
Constructs a variable font setting with the specified variable tag and value.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
| FontFeatureTag juce::FontVariableSetting::tag |
The OpenType variation axis tag.
| float juce::FontVariableSetting::value |
The value for this axis.