- Documentation
- Server functions
- svgGetSize
Function
svgGetSize
Returns the SVG document size in pixels.
Syntax
int, int svgGetSize(element svgElement)Arguments
svgElementelement- The SVG document.
Returns
Width and height, or false.
Example
local svg = svgCreate(128, 64, "<svg/>")
local w, h = svgGetSize(svg)