mirror of
https://github.com/konvajs/konva.git
synced 2025-12-05 03:24:23 +08:00
added new selector capability to .get() method. You can now select all nodes by type inside of a container, such as by Shape, Group, or Layer
This commit is contained in:
@@ -349,6 +349,13 @@ Kinetic.Stage.prototype = {
|
||||
*/
|
||||
getHeight: function() {
|
||||
return this.attrs.height;
|
||||
},
|
||||
/**
|
||||
* get shapes in point
|
||||
* @param {Object} point
|
||||
*/
|
||||
getShapesInPoint: function(pos) {
|
||||
|
||||
},
|
||||
/**
|
||||
* detect event
|
||||
|
||||
Reference in New Issue
Block a user