Shape.js revision e393eced613f9b4a5fb6bdd461d0e0bf5064d5ec
{
this._initialize(cfg);
this._draw();
}
type: "shape",
autoSize: false,
pointerEvents: "visiblePainted",
_initialize: function(cfg)
{
{
}
},
{
},
_draw: function()
{
var cx,
cy,
rx,
ry,
parentNode = this.parentNode,
borderWeight = 0,
if(!this.node)
{
}
if(this.nodetype == "path")
{
if(this.type == "wedge")
{
}
this._setPath();
}
{
}
this._addBorder();
if(this.nodetype === "ellipse")
{
rx -= borderWeight;
ry -= borderWeight;
}
else
{
}
this._addFill();
return this;
},
_setPath: function()
{
if(this.path)
{
this.path += " Z";
}
},
_addBorder: function()
{
{
}
else
{
}
},
_addFill: function()
{
var fillAlpha;
{
this.beginGradientFill(this.fill);
}
{
this.beginBitmapFill(this.fill);
}
else
{
{
}
else
{
}
}
},
end: function()
{
this._setPath();
},
{
this._draw();
return this;
},
_getNodeShapeType: function(type)
{
{
}
return type;
},
toggleVisible: function(val)
{
if(this.node)
{
}
},
{
if(node)
{
{
}
else
{
}
}
},
circle: "ellipse",
wedge: "path"
}
});