Properties

Name Type
renderEngine object

Events

Methods

Name Arguments Return Type
attr (object element, object attributes) void
circle (double cx, double cy, double r, object attributes) object
clear () void
getAttr (object element, object attributes) string
getSize () object
line (double x1, double y1, double x2, double y2, object attributes) object
measureText (string text, double angle, object attributes) object
on (object element, string e, object func) void
off (object element, string e, object func) void
path (string path, object attributes) object
pieslice (double cx, double xy, object innerRadius, object outerRadius, double fromAngle, double endAngle, double centerOffset, object attributes) object
refresh () void
rect (double x, double y, object width, object height, object attributes) object
saveAsJPEG (string image, string url) void
saveAsPNG (string image, string url) void
text (string text, double x, double y, object width, object height, double angle, object attributes, bool clip, string halign, string valign, string rotateAround) object