rotateCW() {
        const { width, height } = this;
        const h1 = height - 1;
        this._rotate((x, y) => x * height + h1 - y);
        this.size[0] = height;