getVisibleBounds method

Rect getVisibleBounds()

Axis-aligned bounding rectangle that encloses the visible points of path.

This is computed from path.visibleBounds and may be an approximation (sampling-based). It is useful for fast bounding-box checks before more expensive path containment tests.

Implementation

Rect getVisibleBounds() => path.visibleBounds;