Class: PolyLineDynamic

Static Methods


PolyLineDynamic PolyLineDynamic.new(points?: table)

Properties


float Thickness

Determines the thickness of a PolyLineDynamic in pixels.

PolyLineFillType FillType

Determines how a PolyLineDynamic is filled.

table Points

The array of points that makeup a PolyLineDynamic.

Inherited from DrawEntryDynamic:
bool Visible

Determines whether a DrawEntryDynamic will be rendered.

int ZIndex

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

float Opacity

A value between 0 and 1 that indicates the opacity of a DrawEntryDynamic.

Color3 Color

Determines the color of a DrawEntryDynamic.

bool Outlined

Whether a DrawEntryDynamic is outlined.

number OutlineOpacity

A value between 0 and 1 that indicates the opacity of a DrawEntryDynamic's outline.

number OutlineThickness

The thickness of a DrawEntryDynamic's outline, in pixels.

Color3 OutlineColor

The color of a DrawEntryDynamic's outline.

Methods


void PolyLineDynamic:ReTriangulate()

Used to re-triangulate a PolyLineDynamic when 'FillType' is set to PolyLineFillType.Triangulated.

void PolyLineDynamic:SetPoints(points: table)

Sets a PolyLineDynamic's points.

Inherited from DrawEntryDynamic:
void PolyLineDynamic:MoveToFront()

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

void PolyLineDynamic:MoveToBack()

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