Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.render.drawSimpleTextOutlined

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.drawSimpleTextOutlined(x, y, text, outlinewidth, outlinecolor, xalign, yalign)
View on GitHub|lua/starfall/libs_cl/render.lua:1936
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Draws outlined text more easily but no new lines or tabs.

Parameters

NameTypeDescription
xnumberX coordinate
ynumberY coordinate
textstringText to draw
outlinewidthnumberWidth of the outline.
outlinecolorColorThe color of the text.
xalign?numberHorizontal text alignment. Default TEXT_ALIGN.LEFT
yalign?numberVertical text alignment. Default TEXT_ALIGN.TOP

Returns

TypeDescription
numberWidth of the drawn text. Same as calling render.getTextSize
numberHeight of the drawn text. Same as calling render.getTextSize

Examples

No examples available.

Used In

No usages found in the codebase.