â¯ī¸Font
Functions for initialization of font for renderer. (Scripts\Fonts\...)
Last updated
Functions for initialization of font for renderer. (Scripts\Fonts\...)
Last updated
Name | Type | Description |
---|---|---|
Font.GetDefault()
: Font
Gets a default Font object.
Font.Add(name: string, size: integer)
: Font
Argument | Type | Description |
---|---|---|
Creates a new Font object.
Font_Object.Remove()
Removes a Font object. Please note that Font_Object
will not become null.
Font_Object.GetTextSize(text: string)
: Vector2
Returns a Vector2 object with text size.
Argument | Type | Description |
---|---|---|
size
integer (Read Only)
Size of the font
name
string
File name of font
size
integer
Size of font
text
string
Text that we get size of