Skip to content

Commit

Permalink
docs upgrade for rect corners mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hvitis committed Sep 30, 2023
1 parent ce99e4a commit 1a4a6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p5/core/primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def rect(*args, mode: Optional[str] = None):
:param args: For modes'CORNER' or 'CENTER' this has the form
(width, height); for the 'RADIUS' this has the form
(half_width, half_height); and for the 'CORNERS' mode, args
should be the corner opposite to `coordinate`.
should be two int values x, y - the coords of corner opposite to `coordinate`.
:type: tuple
Expand Down

0 comments on commit 1a4a6b1

Please sign in to comment.