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:
Eric Rowell
2012-04-27 22:54:39 -07:00
parent 2879c0763f
commit 192681374d
5 changed files with 115 additions and 2 deletions

View File

@@ -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