[ type ] Font
Description:
Font object used in most UI components, ListItem, TableColumn, Text shape and other text-rendering components.
Type: Object
Properties:
| Name | Type | Description |
|---|---|---|
|
string | FontFamily | Font family name (e.g., |
|
number | Font size in pixels. |
|
boolean | Whether the text is bold. |
|
boolean | Whether the text is italic. |
|
boolean | Whether the text is underlined. |
|
boolean | Whether the text has a strikethrough. |
|
string | Text direction: |
|
boolean | Enable or disable kerning. |
|
boolean | Enable or disable font ligatures. |
|
number | Letter spacing adjustment: -1, 0 (default), or 1. |
