-
Notifications
You must be signed in to change notification settings - Fork 7
CleanCircle
Juju Adams edited this page Mar 7, 2021
·
10 revisions
Returns: Circle struct
Argument | Name | Purpose |
---|---|---|
0 | x |
x-coordinate of the circle's center |
1 | y |
y-coordinate of the circle's center |
2 | radius |
Radius of the circle, in pixels |
N.B. A shape will only draw when you call the .Draw()
method.
Circles have the following methods:
Argument | Name | Purpose |
---|---|---|
None |
Argument | Name | Purpose |
---|---|---|
0 | color |
Color of the Circle |
1 | alpha |
Alpha value of the circle |
Argument | Name | Purpose |
---|---|---|
0 | thickness |
Width of the border, in pixels |
1 | color |
Color of the border |
2 | alpha |
Alpha of the border |
@jujuadams 2020