Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pytiled_parser/tiled_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Text(TiledObject):

Attributes:
text: The text to display
color: Color of the text. (default: (255, 255, 255, 255))
color: Color of the text. (default: (0, 0, 0, 255))
font_family: The font family used (default: "sans-serif")
font_size: The size of the font in pixels. (default: 16)
bold: Whether the font is bold. (default: False)
Expand All @@ -119,7 +119,7 @@ class Text(TiledObject):
"""

text: str
color: Color = Color(255, 255, 255, 255)
color: Color = Color(0, 0, 0, 255)

font_family: str = "sans-serif"
font_size: float = 16
Expand Down