setScissor method
Implementation
void setScissor(double x, double y, double width, double height) {
_scissor.setValues(x, y, width, height);
_currentScissor.setFrom(_scissor);
_currentScissor.scale(_pixelRatio);
_currentScissor.floor();
state.scissor(_currentScissor);
}