TextProperties
TextProperties holds styling for text objects on the map. Access via the 'tilemap' submodule.
Properties
| Name | Description | Type |
|---|---|---|
align | Horizontal text alignment. | Align |
bold | Bold style flag. | bool |
color | Text color. | Color |
font_family | Font family name. | str |
italic | Italic style flag. | bool |
kerning | Kerning enabled flag. | bool |
pixel_size | Font size in pixels. | int |
strikethrough | Strikethrough style flag. | bool |
text | Text content. | str |
underline | Underline style flag. | bool |
wrap | Whether text wrapping is enabled. | bool |