|
|
|
@ -24,10 +24,10 @@ export class AxLegend extends AxShape {
|
|
|
|
|
super(assetData, workingArea); |
|
|
|
|
this.angle = -this.workingArea.backgroundImage.angle; |
|
|
|
|
this.name = this.assetData.Id; |
|
|
|
|
this.pivot.set(this.assetData.PivotX, this.assetData.PivotY); |
|
|
|
|
this.pivot.set(this.assetData.PivotX == undefined ? 0 : this.assetData.PivotX, this.assetData.PivotY == undefined ? 0 : this.assetData.PivotY); |
|
|
|
|
this.x = this.assetData.Point.x; |
|
|
|
|
this.y = this.assetData.Point.y; |
|
|
|
|
this.scale.set(this.assetData.Scale); |
|
|
|
|
this.scale.set(this.assetData.Scale == undefined ? 1 : this.assetData.Scale); |
|
|
|
|
this.shapeMap = shapeMap; |
|
|
|
|
this.createPoint(); |
|
|
|
|
this.refresh(); |
|
|
|
|