Metadata definitions for FontStyleConcept. More...
Public Attributes | |
DynamicPropertyType< Float > | CharacterSpacingProperty |
Sets the character spacing in pixels. | |
DynamicPropertyType< Float > | FixedCharacterWidthProperty |
When set, overrides the font advance widths to make each character take a fixed amount of space specified in pixels. | |
DynamicPropertyType< FontHintingPreference > | FontHintingPreferenceProperty |
Sets the hinting preference of the font. | |
DynamicPropertyType< Boolean > | FractionalCharacterWidthProperty |
Sets whether Kanzi uses fractional or rounded character widths to lay out text. | |
DynamicPropertyType< Float > | LineSpacingProperty |
Sets the line spacing in multiples of the normal line height of the selected font. | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.FontStyleConcept") |
Metaclass for FontStyleConcept. | |
DynamicPropertyType< Float > | SizeProperty |
Sets the size of the font in pixels. | |
DynamicPropertyType< Boolean > | SnapCharacterToPixelPropertyProperty |
Sets whether Kanzi positions characters in 2D rendering to the nearest pixel: | |
DynamicPropertyType< FontStyle > | StyleProperty |
Sets the style of the font. | |
DynamicPropertyType< FontWeight > | WeightProperty |
Sets the weight of the font. | |
Metadata definitions for FontStyleConcept.
DynamicPropertyType<Float> CharacterSpacingProperty |
Sets the character spacing in pixels.
DynamicPropertyType<Float> FixedCharacterWidthProperty |
When set, overrides the font advance widths to make each character take a fixed amount of space specified in pixels.
DynamicPropertyType<FontHintingPreference> FontHintingPreferenceProperty |
Sets the hinting preference of the font.
Defined in ui/node/concept/font_style_concept.cpp as HintingPreferenceProperty.
DynamicPropertyType<Boolean> FractionalCharacterWidthProperty |
Sets whether Kanzi uses fractional or rounded character widths to lay out text.
In most cases fractional widths provide the best result. However, with small font sizes, fractional widths can cause the characters to run together or have too much space, making it difficult to read.
DynamicPropertyType<Float> LineSpacingProperty |
Sets the line spacing in multiples of the normal line height of the selected font.
DynamicPropertyType<Float> SizeProperty |
Sets the size of the font in pixels.
DynamicPropertyType<Boolean> SnapCharacterToPixelPropertyProperty |
Sets whether Kanzi positions characters in 2D rendering to the nearest pixel:
DynamicPropertyType<FontStyle> StyleProperty |
Sets the style of the font.
DynamicPropertyType<FontWeight> WeightProperty |
Sets the weight of the font.