Triangle - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a Triangle shape.

Specification

Destruction
Elements
Garbage Collection
None

Properties

Name
Type
Default
Modifiable
location1
None
Yes
location2
undefined
Yes
location3
undefined
Yes
fill_color
{int:color|Color3}
undefined
Yes
fill_alpha
1
Yes
outline_color
{int:color|Color3}
undefined
Yes
outline_alpha
1
Yes

Events

Pre-execution
Post-execution
beforeRender
afterRender

Construction types

Name
Arguments
New constructor
location1 {Vector2}
location2 {Vector2}
location3 {Vector2}
fill_color? {int:color|Color3}
fill_alpha? {real}
outline_color? {int:color|Color3}
outline_alpha? {real}
Empty
Constructor copy
other {Triangle}
⚠️ **GitHub.com Fallback** ⚠️