From a44a7c176e413fe4d849f84204c87ec588f09348 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 15 May 2019 00:14:35 -0700 Subject: [PATCH] Add type hints --- masque/shapes/text.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/masque/shapes/text.py b/masque/shapes/text.py index 167e2c2..8da2a65 100644 --- a/masque/shapes/text.py +++ b/masque/shapes/text.py @@ -15,11 +15,11 @@ __author__ = 'Jan Petykiewicz' class Text(Shape): - _string = '' - _height = 1.0 - _rotation = 0.0 - _mirrored = None - font_path = '' + _string = '' # type: str + _height = 1.0 # type: float + _rotation = 0.0 # type: float + _mirrored = None # type: List[str] + font_path = '' # type: str # vertices property @property