::pix::svgTop, Main, Index
Load, parse, render SVG.
CommandsTop, Main, Index
destroy [::pix::svg]Top, Main, Index
Destroy current svg or all svgs if special word all is specified.
destroy value
Parameters
value | svg::parse or string. |
Return value
Nothing.
newImage [::pix::svg]Top, Main, Index
Render SVG and return the image.
newImage svg
Parameters
svg | svg::parse |
Return value
A new img object.
parse [::pix::svg]Top, Main, Index
Parse SVG XML. Defaults to the SVG's view box size.
parse svg ?size?
Parameters
svg | string data |
size | list width,height Optional, default SVGviewbox. |
Return value
A new svg object.