mirror of
https://github.com/konvajs/konva.git
synced 2026-01-05 09:04:40 +08:00
point properties can now be set with an array of points or an array of numbers for convenience
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user