Functiondojox.gfx.shape.Creator.createObject

creates an instance of the passed shapeType class

Usage

function (/*Function*/ shapeType, /*Object*/ rawShape)
parametertypedescription
shapeTypeFunctiona class constructor to create an instance of
rawShapeObjectproperties to be passed in to the classes "setShape" method overrideSize: Boolean: set the size explicitly, if true