Class: Text
Static Methods
Text Text.new()
Properties
string Text
Determines the text to be displayed.
Vector2 TextBounds [readonly]
Determines the Vector2 space occupied by a Text object.
number Size
Determines the font size of a Text object.
Drawing.Fonts Font
Determines the font of a Text object.
bool Centered
Determines whether the displayed text is centered.
bool Outlined
Determines whether the displayed text is outlined.
Color3 OutlineColor
Determines the outline color of the displayed text.
Vector2 Position
Determines the position of a Text object.
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 Text:Remove()
Disables a DrawEntry.
void Text:Destroy()
An alias for Remove
.
void Text:MoveToFront()
Moves a DrawEntry to the front of the current ZIndex's draw list.
void Text:MoveToBack()
Moves a DrawEntry to the back of the current ZIndex's draw list.