pushClip method

void pushClip(
  1. Rect clipRect
)

Pushes a new clip rectangle onto the stack, intersecting it with the current active clip.

Implementation

void pushClip(Rect clipRect) {
  _clipStack.add(activeClip.intersect(clipRect));
}