DgsButtonGetTextSize: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 November 2022

  • curprev 13:5013:50, 3 November 2022Thisdp talk contribs 1,027 bytes +1,027 Created page with "{{Client function}} __NOTOC__ This function retrieves the theoretical width and height (in pixels) of a certain piece of text of dgs button. ==Syntax== <syntaxhighlight lang="lua"> float, float dgsButtonGetTextSize( element theButton ) </syntaxhighlight> ===Required Arguments=== *'''theButton:''' The button of whose text you wish to retrieve the width and height. ===Returns=== Returns two floats representing the width and height of the text in pixels. ==Example==..."