class new in Git master
#include <Magnum/Ui/TextProperties.h>
TextFeatureValue OpenType feature value.
A subset of Text::
Constructors, destructors, conversion operators
-
TextFeatureValue(Text::
Feature feature, UnsignedInt value = true) constexpr - Constructor.
- operator Text::FeatureRange() const
- Conversion to Text::
FeatureRange.
Public functions
-
auto feature() const -> Text::
Feature constexpr - Feature to control.
- auto isEnabled() const -> bool constexpr
- Whether to enable the feature.
- auto value() const -> UnsignedInt constexpr
- Feature value to sest.
Function documentation
Magnum:: Ui:: TextFeatureValue:: TextFeatureValue(Text:: Feature feature,
UnsignedInt value = true) constexpr
Constructor.
Parameters | |
---|---|
feature | Feature to control |
value | Feature value to set |
Magnum:: Ui:: TextFeatureValue:: operator Text::FeatureRange() const
Conversion to Text::
The range has Text::0
and end() to 0xffffffffu
.