Difference between revisions of "Legacy:Font/getStringWidth"

From Spherical
Jump to: navigation, search
(created from http://web.archive.org/web/20110906074311/http://www.spheredev.org/wiki/Font.getStringWidth)
(No difference)

Revision as of 22:41, 24 June 2013


Get the pixel width of a string if it were drawn with Font.drawText().

Usage

integer Font.getStringWidth(text);


  • param1 type. param1 description
  • param2 type. param2 description
  • paramN type. paramN description

Examples

(examples with syntaxhighlighted code)

Notes

(notes)

See also

  • see also
  • see also
  • see also
  • etc

API:Font/navbox