SvgGetSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 18: Line 18:
==See Also==
==See Also==
{{SVG_functions}}
{{SVG_functions}}
[[pt-br:svgGetSize]]

Revision as of 03:42, 20 February 2022

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.

Requirements

This template will be deleted.

See Also