Force use of keyword args on most constructors
This commit is contained in:
parent
2a8e43cbcd
commit
0e04633f61
9 changed files with 9 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ class Path(Shape, metaclass=AutoSlots):
|
|||
def __init__(self,
|
||||
vertices: numpy.ndarray,
|
||||
width: float = 0.0,
|
||||
*,
|
||||
cap: PathCap = PathCap.Flush,
|
||||
cap_extensions: numpy.ndarray = None,
|
||||
offset: vector2 = (0.0, 0.0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue