SvgGetSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:


===Required Arguments===
===Required Arguments===
*'''svgElement:''' The svg element you want to get the size of.
*'''svgElement:''' The [[svg]] you want to get the size of.


===Returns===
===Returns===

Revision as of 18:00, 26 September 2021

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 svgCreate.

Requirements

This template will be deleted.

See Also