clipRRect abstract method

void clipRRect({
  1. RRect? rrect,
})

Indicates that a rounded rectangle clip is expected next.

The next rounded rectangle clip is examined. Any arguments that are passed to this method are compared to the actual Canvas.clipRRect call's argument and any mismatches result in failure.

If no call to Canvas.clipRRect was made, then this results in failure.

Any calls made between the last matched call (if any) and the Canvas.clipRRect call are ignored.

Implementation

void clipRRect({ RRect? rrect });