|
@@ -95,6 +95,9 @@ export class SImageLegendItem extends SIconTextItem {
|
|
|
if (data.Properties.ImgPos) {
|
|
|
this.img.moveTo(data.Properties.ImgPos.X, data.Properties.ImgPos.Y);
|
|
|
}
|
|
|
+ if (data.Properties && data.Properties.ImgRotate) {
|
|
|
+ this.img.rotate = data.Properties.ImgRotate;
|
|
|
+ }
|
|
|
if (data.Properties && data.Properties.font) {
|
|
|
this.font = new SFont("sans-serif", data.Properties.font);
|
|
|
}
|
|
@@ -138,6 +141,7 @@ export class SImageLegendItem extends SIconTextItem {
|
|
|
this.data.Properties.Url = this.img.url;
|
|
|
this.data.Properties.TextPos = { X: this.textItem.x, Y: this.textItem.y };
|
|
|
this.data.Properties.ImgPos = { X: this.img.x, Y: this.img.y };
|
|
|
+ this.data.Properties.ImgRotate = this.img.rotate;
|
|
|
this.data.Properties.Size = {
|
|
|
Width: this.sWidth,
|
|
|
Height: this.sHeight
|