-
Notifications
You must be signed in to change notification settings - Fork 7
CleanCircle
Juju Adams edited this page Mar 12, 2021
·
10 revisions
Returns: Circle struct
Name | Datatype | Purpose |
---|---|---|
x |
number | x-coordinate of the circle's center |
y |
number | y-coordinate of the circle's center |
radius |
number | 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
)
Name | Datatype | 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