TextProperties

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

Properties


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