setClip method

void setClip(
  1. double left,
  2. double top,
  3. double width,
  4. double height,
)

Implementation

void setClip(double left, double top, double width, double height) {
  _uiCanvas.clipRect(ui.Rect.fromLTWH(left, top, width, height), doAntiAlias: true);
}