* resize the Image Layer to match the given size * @param {number} w - new width * @param {number} h - new height
(w, h)
| 152 | * @param {number} h - new height |
| 153 | */ |
| 154 | resize(w, h) { |
| 155 | return super.resize( |
| 156 | this.repeatX ? Infinity : w, |
| 157 | this.repeatY ? Infinity : h, |
| 158 | ); |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * createPattern function |
no outgoing calls
no test coverage detected