Rectangle - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a Rectangle shape.

Specification

Destruction
Elements
Garbage Collection
None

Properties

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

Events

Pre-execution
Post-execution
beforeRender
afterRender

Construction types

Name
Arguments
New constructor
location {Vector4}
fill_color? {int:color|Color4}
fill_alpha? {real}
outline_color? {int:color|Color4}
outline_size? {int}
outline_alpha? {real}
Empty
Constructor copy
other {Rectangle}
⚠️ **GitHub.com Fallback** ⚠️