Open Asterune
TextService

TextService

Measures and processes text.

Service
game:GetService("TextService")
Inherits
Instance
Replication
Never

Behavior

TextService measures and processes text.

Summary

Members2
Methods2

Methods

GetExecutionGroup

TextService:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

GetTextSize

TextService:GetTextSize(text: string, fontSize: number, weight: EnumItem, frameSize: Vector2, italic: boolean?, mono: boolean?): Vector2

Returns the rendered text dimensions for the supplied text and font settings.

Inherited members

Inherited47

Instance