Skip to main content

SetTextBold

Description

Enables bold text formatting for subsequent text drawing operations.

Introduced in DSL 2.

function SetTextBold() --[[ ... ]] end

Parameters

None.

Return Values

None.

Example

-- Draw normal text
SetTextPosition(0.5, 0.3)
SetTextScale(1.0)
DrawText("This is normal text")

-- Enable bold formatting
SetTextBold()
SetTextPosition(0.5, 0.4)
DrawText("This is bold text")

See Also