.Creator.createObject
dojo.require("dojox.gfx.canvas");
defined in dojox/gfx/canvas.js
creates an instance of the passed shapeType class
parameter | type | description |
---|---|---|
shapeType | Function | a class constructor to create an instance of |
rawShape | Object | properties to be passed in to the classes "setShape" method overrideSize: Boolean: set the size explicitly, if true |