-
Notifications
You must be signed in to change notification settings - Fork 5
CleanEllipse
Juju Adams edited this page Mar 22, 2021
·
4 revisions
Returns: Ellipse struct
Name | Datatype | Purpose |
---|---|---|
x |
number | x-coordinate of the ellipse's center |
y |
number | y-coordinate of the ellipse's center |
radiusX |
number | Radius of the ellipse's x-axis, in pixels |
radiusY |
number | Radius of the ellipse's y-axis, in pixels |
N.B. A shape will only draw when you call the .Draw()
method.
Ellipse 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 |
---|---|---|
colorInner |
24-bit color | Inner color of the shape |
alphaInner |
number | Inner alpha value of the shape |
colorOuter |
24-bit color | Outer color of the shape |
alphaOuter |
number | Outer 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