Use the singleton instance of this class, $.svg, to interact with the SVG functionality.
Expects HTML like:
<div></div>
SVG is not supported natively on this browser
null
The constructor function must take a single parameter that is a reference to the owning SVG root object. This allows the extension to access the basic SVG functionality.
SVGWrapper
true
false
Obtain a reference from $().svg('get')
Specify all of x1, y1, x2, y2 or none of them.
x1
y1
x2
y2
Specify all of cx, cy, r, fx, fy or none of them.
cx
cy
r
fx
fy
Specify all of vx, vy, xwidth, vheight or none of them.
vx
vy
xwidth
vheight
Specify all of vx, vy, vwidth, vheight or none of them.
vwidth
Specify all of x, y, width, height or none of them.
x
y
width
height
Specify both of rx and ry or neither.
rx
ry
Specify both of x and y or neither of them.
<svg
addTo
onLoad
changeSize
this
parent
Obtain an instance from the SVGWrapper object.
String calls together to generate the path and use its value:
Starting control point is the reflection of the previous end control point.
Control point is the reflection of the previous control point.
String calls together to generate the text and use its value: