-
Notifications
You must be signed in to change notification settings - Fork 6
CleanRectangleXYWH
Juju Adams edited this page Mar 17, 2021
·
6 revisions
Returns: Rectangle struct
Name | Datatype | Purpose |
---|---|---|
x |
number | x-coordinate of the centre of the rectangle |
y |
number | y-coordinate of the centre of the rectangle |
width |
number | Width of the rectangle |
height |
number | Height of the rectangle |
Rectangles defined using this function are no different internally to the standard rectangle shape. Please see the CleanRectangle()
documentation for available methods.
N.B. A shape will only draw when you call the .Draw()
method.
@jujuadams 2020