Part of StarfallEx namespace
๐ External
render.drawSimpleText(x, y, text, xalign, yalign)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Draws text more easily and quickly but no new lines or tabs.
Parameters
| Name | Type | Description |
|---|---|---|
x | number | X coordinate |
y | number | Y coordinate |
text | string | Text to draw |
xalign? | number | Horizontal text alignment. Default TEXT_ALIGN.LEFT |
yalign? | number | Vertical text alignment. Default TEXT_ALIGN.TOP |
Returns
| Type | Description |
|---|---|
number | Width of the drawn text. Same as calling render.getTextSize |
number | Height of the drawn text. Same as calling render.getTextSize |
Examples
No examples available.
Used In
No usages found in the codebase.