TextLabel
linnet_py Class
TextLabel(text: str, *, fill: _Paint = ..., size: _LengthValue = ..., weight: _NativeValue = ..., style: _TextStyleValue = ...)Literal text content with optional typed text styling.
Constructor
#Parameters
| Name | Type | Default | Description |
|---|---|---|---|
text | str | — | — |
fill | _Paint | runtime default | — |
size | _LengthValue | runtime default | — |
weight | _NativeValue | runtime default | — |
style | _TextStyleValue | runtime default | — |
Member details
text
Property · read-only__repr__
MethodView generated signature source: docs/api/python/linnet-py.pyi:1187