SvgGetSize

From Multi Theft Auto: Wiki
Revision as of 17:48, 26 September 2021 by LopSided (talk | contribs) (Initial page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Gets the underlying XML document from an SVG element.

Syntax

int width, int height svgGetSize( svg svgElement )

Required Arguments

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

Returns

  • Returns two ints, representing width and height

Example

See the example for svgCreate.

Requirements

This template will be deleted.

See Also