개정판 b2d0f316
Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가
Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89
MarkupToPDF/Controls/Shape/TriControl.cs | ||
---|---|---|
51 | 51 |
this.StrokeColor = item.StrokeColor; |
52 | 52 |
this.UserID = item.UserID; |
53 | 53 |
this.Memo = item.Memo; |
54 |
this.ZIndex = item.ZIndex; |
|
54 | 55 |
} |
55 | 56 |
} |
56 | 57 |
|
... | ... | |
538 | 539 |
/// <returns></returns> |
539 | 540 |
public override string Serialize() |
540 | 541 |
{ |
541 |
using (S_TriControl STemp = new S_TriControl())
|
|
542 |
using (S_TriControl ctrl = new S_TriControl())
|
|
542 | 543 |
{ |
543 |
STemp.TransformPoint = "0|0";
|
|
544 |
STemp.Paint = this.Paint;
|
|
545 |
STemp.SizeSet = String.Format("{0}", this.LineSize);
|
|
546 |
//STemp.StrokeColor = "#FF00FF00";
|
|
547 |
STemp.StrokeColor = this.StrokeColor.Color.ToString();
|
|
544 |
ctrl.TransformPoint = "0|0";
|
|
545 |
ctrl.Paint = this.Paint;
|
|
546 |
ctrl.SizeSet = String.Format("{0}", this.LineSize);
|
|
547 |
//ctrl.StrokeColor = "#FF00FF00";
|
|
548 |
ctrl.StrokeColor = this.StrokeColor.Color.ToString();
|
|
548 | 549 |
if (this.FillColor != null) |
549 | 550 |
{ |
550 |
STemp.FillColor = this.FillColor.Color.ToString();
|
|
551 |
ctrl.FillColor = this.FillColor.Color.ToString();
|
|
551 | 552 |
} |
552 |
STemp.StartPoint = this.StartPoint;
|
|
553 |
STemp.EndPoint = this.EndPoint;
|
|
554 |
STemp.MidPoint = this.MidPoint;
|
|
555 |
STemp.Opac = this.Opacity;
|
|
556 |
STemp.UserID = this.UserID;
|
|
557 |
STemp.PointSet = this.PointSet;
|
|
558 |
STemp.Angle = this.CommentAngle;
|
|
559 |
STemp.DashSize = this.DashSize;
|
|
560 |
STemp.Name = this.GetType().Name.ToString();
|
|
553 |
ctrl.StartPoint = this.StartPoint;
|
|
554 |
ctrl.EndPoint = this.EndPoint;
|
|
555 |
ctrl.MidPoint = this.MidPoint;
|
|
556 |
ctrl.Opac = this.Opacity;
|
|
557 |
ctrl.UserID = this.UserID;
|
|
558 |
ctrl.PointSet = this.PointSet;
|
|
559 |
ctrl.Angle = this.CommentAngle;
|
|
560 |
ctrl.DashSize = this.DashSize;
|
|
561 |
ctrl.Name = this.GetType().Name.ToString();
|
|
561 | 562 |
///강인구 추가(2017.11.02) |
562 | 563 |
///Memo 추가 |
563 |
STemp.Memo = this.Memo;
|
|
564 |
ctrl.Memo = this.Memo;
|
|
564 | 565 |
|
565 |
return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize())); |
|
566 |
ctrl.ZIndex = this.ZIndex; |
|
567 |
|
|
568 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
|
566 | 569 |
} |
567 | 570 |
} |
568 | 571 |
|
... | ... | |
589 | 592 |
PointSet = s.PointSet, |
590 | 593 |
StrokeColor = brush, |
591 | 594 |
UserID = s.UserID, |
592 |
Memo = s.Memo |
|
595 |
Memo = s.Memo, |
|
596 |
ZIndex = s.ZIndex |
|
593 | 597 |
}; |
594 | 598 |
} |
595 | 599 |
} |
내보내기 Unified diff