mirror of
https://github.com/konvajs/konva.git
synced 2025-09-20 03:18:00 +08:00
added getNodeType() and getShapeType() methods
This commit is contained in:
@@ -24,6 +24,8 @@ Test.Modules.REGULAR_POLYGON = {
|
||||
|
||||
layer.add(poly);
|
||||
stage.add(layer);
|
||||
|
||||
test(poly.getShapeType() === 'RegularPolygon', 'shape type should be RegularPolygon');
|
||||
|
||||
},
|
||||
'add regular polygon square': function(containerId) {
|
||||
|
Reference in New Issue
Block a user