setScissorRect method

void setScissorRect(
  1. int x,
  2. int y,
  3. int width,
  4. int height,
)

Implementation

void setScissorRect(int x, int y, int width, int height) =>
    js_util.callMethod(this, 'setScissorRect', [x, y, width, height]);