Ellipse - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs an Ellipse Shape, which is a Circle that can be extended at single axis to fit between two points of its specified location. It is a series of triangles placed circularly from center, the amount of which equals the specified precision.

Specification

Destruction
Elements
Garbage Collection
None

Properties

Name
Type
Default
Modifiable
location
None
Yes
fill_color
{int:color|Color2}
undefined
Yes
fill_alpha
1
Yes
outline_size
{int}
0
Yes
outline_color
{int:color|Color2}
undefined
Yes
outline_alpha
1
Yes
precision
{int:divisibleBy4}
24
Yes

Construction types

Name
Arguments
New constructor
location {Vector4}
fill_color? {int:color|Color2}
fill_alpha? {real}
outline_size? {int}
outline_color? {int:color|Color2}
outline_alpha? {real}
precision? {int:divisibleBy4}
From Circle
circle {Circle}
Empty
Constructor copy
other {Ellipse}
⚠️ **GitHub.com Fallback** ⚠️