activeClip property

Rect get activeClip

Returns the current active clip rectangle, defaulting to full buffer bounds if stack is empty.

Implementation

Rect get activeClip => _clipStack.isEmpty ? _boundsClip : _clipStack.last;