(options = {})
| 1123 | } |
| 1124 | |
| 1125 | beginClip(options = {}) { |
| 1126 | super.beginClip(options); |
| 1127 | |
| 1128 | this.drawTarget()._isClipApplied = true; |
| 1129 | |
| 1130 | this._applyClip(); |
| 1131 | |
| 1132 | this.push(); |
| 1133 | this.resetShader(); |
| 1134 | if (this.states.fillColor) this.fill(0, 0); |
| 1135 | if (this.states.strokeColor) this.stroke(0, 0); |
| 1136 | } |
| 1137 | |
| 1138 | endClip() { |
| 1139 | this.pop(); |
nothing calls this directly
no test coverage detected