Add type hints
This commit is contained in:
parent
bc43be48bc
commit
a44a7c176e
@ -15,11 +15,11 @@ __author__ = 'Jan Petykiewicz'
|
|||||||
|
|
||||||
|
|
||||||
class Text(Shape):
|
class Text(Shape):
|
||||||
_string = ''
|
_string = '' # type: str
|
||||||
_height = 1.0
|
_height = 1.0 # type: float
|
||||||
_rotation = 0.0
|
_rotation = 0.0 # type: float
|
||||||
_mirrored = None
|
_mirrored = None # type: List[str]
|
||||||
font_path = ''
|
font_path = '' # type: str
|
||||||
|
|
||||||
# vertices property
|
# vertices property
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user