svg.js
SVG helper provides simplified creation of SVG elements.
Functions
OAT.SVG.canvas(w,h)
Returns canvas element.
-
w
- width (default 300
)
-
h
- height (default
200 )
OAT.SVG.element(w,h)
OAT.SVG.element(name,{attributes}); Returns SVG
element with desired name and
attributes .
ToBeDone
-- is
OAT.SVG.element(name,{attributes}) distinct from
OAT.SVG.element(w,h) ? if so, give it its own section
... if not, how does oat know which call is being made? also,
document valid attributes and how to
declare...