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