Line - Mtax-Development/GML-OOP GitHub Wiki
Constructs a two-dimensional Line Shape, which is a Rectangle rotated towards middle points of its sides, from which it is extended by its specified size.
Destruction |
Elements |
Garbage Collection |
None |
Name |
Type |
Default |
Modifiable |
location |
{Vector4} |
None |
Yes |
size |
{real} |
1 |
Yes |
fill_color |
c_white |
Yes |
|
fill_alpha |
{real} |
1 |
Yes |
outline_size |
{int} |
0 |
Yes |
outline_color |
undefined |
Yes |
|
outline_alpha |
{real} |
1 |
Yes |
Name |
Arguments |
New constructor |
|
From Rectangle |
rectangle {Rectangle} |
Empty |
{void} |
Constructor copy |
other {Line} |