boundsTransformed property

Rectangle<num> boundsTransformed

Returns a rectangle that defines the area of this display object in this display object's parent coordinates.

Implementation

Rectangle<num> get boundsTransformed {
  var rectangle = this.bounds;
  var matrix = this.transformationMatrix;
  return matrix.transformRectangle(rectangle, rectangle);
}