-
Notifications
You must be signed in to change notification settings - Fork 7
CleanCircle
Juju Adams edited this page Mar 11, 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:
Returns: N/A (undefined
)
Argument | Name | Purpose |
---|---|---|
None |
Returns: self
Name | Datatype | Purpose |
---|---|---|
color |
24-bit color | Color of the shape |
alpha |
number | Alpha value of the shape |
Returns: self
Name | Datatype | Purpose |
---|---|---|
colorInner |
24-bit color | Inner color of the Circle |
alphaInner |
number | Inner alpha value of the circle |
colorOuter |
24-bit color | Outer color of the Circle |
alphaOuter |
number | Outer alpha value of the circle |
Returns: self
Name | Datatype | Purpose |
---|---|---|
thickness |
number | Width of the border, in pixels |
color |
24-bit color | Color of the border |
alpha |
number | Alpha of the border |
@jujuadams 2020