clipPath method

  1. @override
void clipPath(
  1. PdfPath path,
  2. PdfFillRule rule
)
override

Intersects the current clip with path.

Implementation

@override
void clipPath(PdfPath path, PdfFillRule rule) {
  flushPending(); // strips batched before the clip must not be clipped
  if (_savedClip.isNotEmpty) _savedClip[_savedClip.length - 1] = true;
  delegateClipPath(path, rule);
}