Properties

Name Type Default
renderEngine String ''

Methods

Name Arguments Return Value
attr element, attributes none
circle cx, cy, r, {optional attributes} element object
clear None None
getAttr element, attribute name string
line x1, y1, x2, y2, {optional attributes} element object
measureText text, angle, {optional attributes} {width, height}
on element, event, function none
off element, event, function none
path line command , {optional attributes} element object
pieslice cx, cy, innerRadius, outerRadius, fromAngle, endAngle, centerOffset, {optional attributes} element object
refresh None None
rect x, y, width, height, {optional attributes} element object
saveAsJPEG fileName, exportServer boolean
saveAsPNG fileName, exportServer boolean
text text, x, y, width, height, angle, attributes, clip, halign, valign, rotateAround element object