point properties can now be set with an array of points or an array of numbers for convenience

This commit is contained in:
Eric Rowell
2012-05-08 22:11:37 -07:00
parent 40ebb21033
commit 622278a510
9 changed files with 160 additions and 94 deletions

View File

@@ -589,7 +589,7 @@ Test.prototype.tests = {
var star = new Kinetic.Star({
x: 200,
y: 100,
points: 10,
numPoints: 10,
innerRadius: 40,
outerRadius: 70,
fill: 'green',
@@ -700,7 +700,7 @@ Test.prototype.tests = {
var star = new Kinetic.Star({
x: 200,
y: 100,
points: 10,
numPoints: 10,
innerRadius: 40,
outerRadius: 70,
fill: 'green',