Class: Quad

Static Methods


Quad Quad.new()

Properties


number Thickness

Determines a Quad's thickness.

Vector2 PointA

The position of a Quad's first point.

Vector2 PointB

The position of a Quad's second point.

Vector2 PointC

The position of a Quad's third point.

Vector2 PointD

The position of a Quad's fourth point.

bool Filled

Determines whether a Quad is filled.

Inherited from DrawEntry:
bool Visible

Determines whether a DrawEntry will be rendered.

int ZIndex

Determines the order in which a DrawEntry is rendered relative to other GUIs.

float Transparency

A V2-era misnomer and now alias for 'Opacity'. Deprecated.

float Opacity

A value between 0 and 1 that indicates the opacity of a DrawEntry, where 0 is fully transparent and 1 is fully opaque.

Color3 Color

Determines the color of a DrawEntry.

Vector3 ColorVec3 [writeonly]

Used to set Color via a Vector3. Write-only.

Methods


Inherited from DrawEntry:
void Quad:Remove()

Disables a DrawEntry.

void Quad:Destroy()

An alias for Remove.

void Quad:MoveToFront()

Moves a DrawEntry to the front of the current ZIndex's draw list.

void Quad:MoveToBack()

Moves a DrawEntry to the back of the current ZIndex's draw list.