()
| 177 | } |
| 178 | |
| 179 | protected handleXYChanged(): void { |
| 180 | super.handleXYChanged(); |
| 181 | |
| 182 | if (this._flip !== EFlipType.None) { |
| 183 | if (this.scaleX === -1 && this._image) { |
| 184 | this._image.x += this.width; |
| 185 | } |
| 186 | if (this.scaleY === -1 && this._image) { |
| 187 | this._image.y += this.height; |
| 188 | } |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | public getProp(index: number): any { |
| 193 | if (index === EObjectPropID.Color) { |