resize(w, h) {
		return super.resize(
			this.repeatX ? Infinity : w,
			this.repeatY ? Infinity : h,
		);
	}
resize the Image Layer to match the given size
@param {number} w - new width
@param {number} h - new height