Shape can be created with:
var squiggle = new Kinetic.QSquiggle({
x: stage.width / 2,
y: stage.height / 2,
points: 10,
innerRadius: 150,
outerRadius: 250,
fill: "yellow",
stroke: "black",
strokeWidth: 3
});
//Access this shape like a typical object!
squiggle.fill = "blue";
Here's a Demo using QSquiggle.
No comments:
Post a Comment