bounds property

  1. @override
Rectangle<num> bounds
override

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

Implementation

@override
Rectangle<num> get bounds {
  final width = _renderTextureQuad.targetWidth;
  final height = _renderTextureQuad.targetHeight;
  return Rectangle<num>(0.0, 0.0, width, height);
}