()
| 122 | } |
| 123 | |
| 124 | selectAll() { |
| 125 | this.setLeft(0); |
| 126 | this.setRight(0); |
| 127 | this.setBottom(0); |
| 128 | this.setTop(0); |
| 129 | this.show(); |
| 130 | this.reCalcCropperCords(); |
| 131 | if (this.area.activated) { |
| 132 | this.areaionCallback(!this.imagePlaced && |
| 133 | this.area.rect.clientWidth > 0 && |
| 134 | this.area.rect.clientHeight > 0); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | getScale() { |
| 139 | return this.canvas.clientWidth / this.canvas.getAttribute('width'); |
no test coverage detected