TextLabel

class TextLabel

Literal text content with optional typed text styling.

Attributes

Name Description
text

text

TextLabel.text: builtins.str

Methods

Name Description
__new__
__repr__

__new__

TextLabel.__new__(
    text: str,
    *,
    fill: _Paint = ...,
    size: _LengthValue = ...,
    weight: _NativeValue = ...,
    style: _TextStyleValue = ...,
) -> TextLabel

__repr__

TextLabel.__repr__() -> builtins.str