SVG plugin constructor for Sketchable instances.
- Source:
Methods
(static) create(callback) → {Sketchable}
Generate SVG.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function
|
Callback function, executed with the SVG (string) as argument. |
Example
sketchableInstance.svg.create(function(contents) {
// Do something with the SVG string.
});