GetTextSize

From Onset Developer Wiki
Revision as of 20:25, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetTextSize

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the size (width and height) of a text.

Syntax

GetTextSize(text [, Scale])

Parameters

  • text
    The text which we would like to know the width and height from.
  • Scale (optional)
    The scale at which this text would be drawn, default: 1.0

Return Value

  • Returns two float values: width, height

Example

__EDIT_ME__

See also