Library globals

Class globals . canvas . api . svgcanvas . SVGCanvas

View source

(no description)

Functions

asWindow

openInWindow - opens the canvas in a window window_size: vector [size_x, size_y] passed to canvas.Window.new returns canvas.window object

del

getCanvas

getPath

getRoot

loadSVG

loadSVG - loads SVG file and create canvas.element objects for given IDs file: filename to load svg_keys: vector of id strings options: options to canvas.parsesvg

new

constructor name: name of canvas settings: hash with canvas settings

updateTextElement

svgkey: id of text element to updateTextElement text: new text

Variables

colors