SvgGetSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Remove obsolete Requirements section)
 
Line 12: Line 12:
==Example==
==Example==
See the example for [[svgSetSize]].
See the example for [[svgSetSize]].
==Requirements==
{{Requirements|n/a|1.5.8-9.20979|}}


==See Also==
==See Also==

Latest revision as of 17:29, 7 November 2024

Gets the underlying XML document from an SVG element.

Syntax

int, int svgGetSize( svg svgElement )

Required Arguments

  • svgElement: The svg you want to get the size of.

Returns

  • Returns two ints, representing width and height

Example

See the example for svgSetSize.

See Also