TextProperties

TextProperties holds styling for text objects on the map. Access via the 'tilemap' submodule.

Properties


NameDescriptionType
alignHorizontal text alignment.Align
boldBold style flag.bool
colorText color.Color
font_familyFont family name.str
italicItalic style flag.bool
kerningKerning enabled flag.bool
pixel_sizeFont size in pixels.int
strikethroughStrikethrough style flag.bool
textText content.str
underlineUnderline style flag.bool
wrapWhether text wrapping is enabled.bool