# Drawing.new("Text") 📄

Draws text on the screen.

# Key Properties

Property Type Description
Text string The actual text content to display.
Size number Font size in pixels. (Note: Overlaps common Size Vector2 property).
Font enum Specifies the font style (e.g., Drawing.Font.UI, Drawing.Font.System).
Center boolean If true, centers the text horizontally within its bounds (Position becomes center).
Outline boolean If true, draws a black outline around the text.
OutlineColor Color3 Sets the color of the outline if Outline is true.
TextBounds Vector2 Read-Only: The calculated width and height of the rendered text.

# Common Properties

Uses common properties like Visible, Color, Transparency, Position, ZIndex. See Common Properties.

# Example

local myLabel = Drawing.new("Text")
myLabel.Visible = true
myLabel.Text = "Hello, World!"
myLabel.Color = Color3(1, 1, 0) -- Yellow
myLabel.Size = 18 -- Font size
myLabel.Position = Vector2(200, 50)
myLabel.Center = true
myLabel.Outline = true
myLabel.ZIndex = 5

-- myLabel:Remove()