setScissor method
dynamic
setScissor(
- dynamic x,
- dynamic y,
- dynamic width,
- dynamic height,
Implementation
setScissor(x, y, width, height) {
if (x == null) {
this._scissor = null;
} else {
this._scissor = {"x": x, "y": y, "width": width, "height": height};
}
}