DgsLineGetItemWidth: 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.

10 January 2023

  • curprev 12:1312:13, 10 January 2023Thisdp talk contribs 901 bytes +901 Created page with "__NOTOC__ {{Client function}} This function gets the width of an item of DGS Line. ==Syntax== <syntaxhighlight lang="lua"> float dgsLineGetItemWidth( element line, int index ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line. *'''index''': The item index. ===Returns=== Returns a ''float'' indicates the width of the item if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local line = DGS:dgsCreateLi..."