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 {
  final rectangle = bounds;
  final matrix = transformationMatrix;
  return matrix.transformRectangle(rectangle, rectangle);
}