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

SFEX.render.getTextSize

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.getTextSize(text)
View on GitHub|lua/starfall/libs_cl/render.lua:1855
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Gets the size of the specified text. Don't forget to use setFont before calling this function

Parameters

NameTypeDescription
textstringText to get the size of

Returns

TypeDescription
numberwidth of the text
numberheight of the text

Examples

No examples available.

Used In

No usages found in the codebase.