-
Notifications
You must be signed in to change notification settings - Fork 5
CleanRing
Juju Adams edited this page Jun 23, 2021
·
9 revisions
Returns: Ring struct
Name | Datatype | Purpose |
---|---|---|
x |
number | x-coordinate of the ring's center |
y |
number | y-coordinate of the ring's center |
innerRadius |
number | Inner radius of the ring, in pixels |
outerRadius |
number | Outer radius of the ring, in pixels |
angleStart |
number | Angular position where the body of the ring starts, in degrees |
angleEnd |
number | Angular position where the body of the ring ends, in degrees |
N.B. A shape will only draw when you call the .Draw()
method.
Ring structs 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 |
---|---|---|
thickness |
number | Width of the border, in pixels |
color |
24-bit color | Color of the border |
alpha |
number | Alpha of the border |
@jujuadams 2020