개정판 e1b36bc0
Feature: Grouping 기능 추가(Ctrl+G : Group, Ctrl+Shift+G : Ungroup)
Change-Id: I99a3309acd55799ff7101522feaa035225b80e48
MarkupToPDF/Controls/Line/ArrowArcControl.cs | ||
---|---|---|
43 | 43 |
|
44 | 44 |
public override void Copy(CommentUserInfo lhs) |
45 | 45 |
{ |
46 |
if (lhs is ArrowArcControl ArrowArcCtrl)
|
|
46 |
if (lhs is ArrowArcControl item)
|
|
47 | 47 |
{ |
48 |
this.StartPoint = new Point(ArrowArcCtrl.StartPoint.X, ArrowArcCtrl.StartPoint.Y); |
|
49 |
this.EndPoint = new Point(ArrowArcCtrl.EndPoint.X, ArrowArcCtrl.EndPoint.Y); |
|
50 |
this.DashSize = ArrowArcCtrl.DashSize; |
|
51 |
this.PointSet = ArrowArcCtrl.PointSet.ConvertAll(x => new Point(x.X, x.Y)); |
|
52 |
this.isTransOn = ArrowArcCtrl.isTransOn; |
|
53 |
this.MiddlePoint = new Point(ArrowArcCtrl.MiddlePoint.X, ArrowArcCtrl.MiddlePoint.Y); |
|
54 |
this.StrokeColor = ArrowArcCtrl.StrokeColor; |
|
55 |
this.Opacity = ArrowArcCtrl.Opacity; |
|
56 |
|
|
57 |
this.Clock = ArrowArcCtrl.Clock; |
|
58 |
this.LineSize = ArrowArcCtrl.LineSize; |
|
59 |
this.UserID = ArrowArcCtrl.UserID; |
|
60 |
this.Memo = ArrowArcCtrl.Memo; |
|
61 |
this.ZIndex = ArrowArcCtrl.ZIndex; |
|
48 |
this.StartPoint = new Point(item.StartPoint.X, item.StartPoint.Y); |
|
49 |
this.EndPoint = new Point(item.EndPoint.X, item.EndPoint.Y); |
|
50 |
this.DashSize = item.DashSize; |
|
51 |
this.PointSet = item.PointSet.ConvertAll(x => new Point(x.X, x.Y)); |
|
52 |
this.isTransOn = item.isTransOn; |
|
53 |
this.MiddlePoint = new Point(item.MiddlePoint.X, item.MiddlePoint.Y); |
|
54 |
this.StrokeColor = item.StrokeColor; |
|
55 |
this.Opacity = item.Opacity; |
|
56 |
|
|
57 |
this.Clock = item.Clock; |
|
58 |
this.LineSize = item.LineSize; |
|
59 |
this.UserID = item.UserID; |
|
60 |
this.Memo = item.Memo; |
|
61 |
this.ZIndex = item.ZIndex; |
|
62 |
GroupID = item.GroupID; |
|
62 | 63 |
} |
63 | 64 |
} |
64 | 65 |
|
... | ... | |
618 | 619 |
ctrl.Memo = this.Memo; |
619 | 620 |
|
620 | 621 |
ctrl.ZIndex = this.ZIndex; |
622 |
ctrl.GroupID = this.GroupID; |
|
621 | 623 |
|
622 | 624 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
623 | 625 |
} |
... | ... | |
649 | 651 |
LineSize = Convert.ToDouble(data2.First()), |
650 | 652 |
UserID = s.UserID, |
651 | 653 |
Memo = s.Memo, |
652 |
ZIndex = s.ZIndex |
|
654 |
ZIndex = s.ZIndex, |
|
655 |
GroupID = s.GroupID |
|
653 | 656 |
}; |
654 | 657 |
} |
655 | 658 |
|
내보내기 Unified diff