Class: TextDynamic

Static Methods


TextDynamic TextDynamic.new(point?: Point)

Properties


string Text

Determines the text to be displayed.

Vector2 TextBounds [readonly]

Indicates the Vector2 space occupied by a TextDynamic.

number Size

Determines the font size of a TextDynamic's text.

Drawing.Fonts Font

Determines the font of a TextDynamic's text.

Point Position

Determines the Point of a TextDynamic object.

XAlignment XAlignment

Determines the x-axis alignment of a TextDynamic's position.

YAlignment YAlignment

Determines the y-axis alignment of a TextDynamic's position.

XAlignment TextXAlignment

Determines the x-axis alignment of a TextDynamic's text when there are multiple lines.

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


Inherited from DrawEntryDynamic:
void TextDynamic:MoveToFront()

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

void TextDynamic:MoveToBack()

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