Esempio n. 1
0
 /**
  * returns a "local" axis aligned bounding box of the node. The returned box is relative only to
  * its parent.
  *
  * @since v0.8.2
  */
 public CGRect getBoundingBox() {
   CGRect rect = CGRect.make(0, 0, contentSize_.width, contentSize_.height);
   return CGRect.applyAffineTransform(rect, nodeToParentTransform());
 }