SvgGetSize: Difference between revisions
Jump to navigation
Jump to search
(Initial page creation) |
mNo edit summary |
||
Line 2: | Line 2: | ||
{{Added feature/item|1.5.9|1.5.8|20979|Gets the underlying XML document from an SVG element.}} | {{Added feature/item|1.5.9|1.5.8|20979|Gets the underlying XML document from an SVG element.}} | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">int | <syntaxhighlight lang="lua">int, int svgGetSize( svg svgElement )</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== |
Revision as of 17:59, 26 September 2021
Gets the underlying XML document from an SVG element.
Syntax
int, int 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