Text style
The format of the text is controlled via animatable style parameters in the layer stack. To set the default format for the whole text, use the parameters under Default Style group.
Here is the list of available properties:
Style | Description | Default value |
---|---|---|
Font family | Font family of the text | Times New Roman or system-specific font |
Font size | Font size in points | 150 pt |
Font weight | Font weight | Normal |
Font stretch | Sets the stretch factor of the font | 100% |
Foreground color | Text color | 100% |
Outline width | Width of character outlines | 0 (no outline drawn) |
Outline color | Outline color (visible if outline width is not zero) | 100% |
Italic | Italic | Disabled |
Kerning | Enable kerning for the font | Enabled |
Letter spacing | Letter spacing, in percentage of the character width | 100% |
Line height | Line height, in percentage of the default line height | 100% |
Position | Translates glyphs. Applied after text layout. | 0,0 |
Rotation | Rotates glyphs by the specified angle in degrees. Applied after text layout. | 0 degrees |
Scale | Scales glyphs by the specified factor. Applied after text layout. | 1.0 |
Opacity | Opacity of rendered glyphs. | 1.0 |
Properties set under the Default Style group can then be individually overriden by Animators.
Glyph transform properties
The Position, Rotation and Scale properties define a transform applied to glyphs (or groups of glyphs) after the text is laid out on the screen. As such, when applied to a subrange of the input text, they does not affect the layout of the rest of the glyphs.
The Anchor Point Grouping parameter controls the anchor point of this transform:
Grouping | Description | Example (Rotation = 15) |
---|---|---|
Character | The transform is applied on each character individually. The anchor points are located on the baseline of each character. | |
Word | The transform is applied on words. The anchor points are located on the baseline of each word, and centered horizontally in each word's bounding box. | |
Line | The transform is applied on lines. The anchor points are located on the baseline of each lines, and centered horizontally in each line's bounding box. |