SvgGetSize: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Fernando187 (talk | contribs) (Remove obsolete Requirements section) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''svgElement:''' The svg | *'''svgElement:''' The [[svg]] you want to get the size of. | ||
===Returns=== | ===Returns=== | ||
Line 11: | Line 11: | ||
==Example== | ==Example== | ||
See the example for [[ | See the example for [[svgSetSize]]. | ||
==See Also== | ==See Also== | ||
{{SVG_functions}} | {{SVG_functions}} | ||
[[pt-br:svgGetSize]] |
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.