Force use of keyword args on most constructors

This commit is contained in:
Jan Petykiewicz 2020-09-10 20:37:19 -07:00
commit 0e04633f61
9 changed files with 9 additions and 0 deletions

View file

@ -64,6 +64,7 @@ class Text(RotatableImpl, Shape, metaclass=AutoSlots):
string: str,
height: float,
font_path: str,
*,
offset: vector2 = (0.0, 0.0),
rotation: float = 0.0,
mirrored: Tuple[bool, bool] = (False, False),