markus / MarkupToPDF / Common / Undo_data.cs @ 02a9f323
이력 | 보기 | 이력해설 | 다운로드 (1.29 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Windows; |
4 |
using System.IO; |
5 |
using System.Linq; |
6 |
using System.Text; |
7 |
using System.Windows.Media; |
8 |
|
9 |
namespace MarkupToPDF.Common |
10 |
{ |
11 |
public class UndoData |
12 |
{ |
13 |
public CommentUserInfo Markup { get; set; } |
14 |
public CommentUserInfo Clone { get; set; } |
15 |
public List<Point> PointSet { get; set; } |
16 |
public double LineSize { get; set; } |
17 |
public DoubleCollection DashSize { get; set; } |
18 |
public Double Opacity { get; set; } |
19 |
public Controls.Common.PaintSet paint { get; set; } |
20 |
public double Angle { get; set; } |
21 |
} |
22 |
|
23 |
public class UndoDataGroup |
24 |
{ |
25 |
public UndoDataGroup() |
26 |
{ |
27 |
EventTime = DateTime.Now; |
28 |
} |
29 |
|
30 |
public EventType Event { get; set; } |
31 |
public List<UndoData> MarkupDataColl { get; } = new List<UndoData>(); |
32 |
public bool IsUndo { get; set; } |
33 |
public DateTime EventTime { get; set; } |
34 |
public double LineSize { get; set; } |
35 |
public double Interval { get; set; } |
36 |
public DoubleCollection DashSize { get; set; } |
37 |
public Double Opacity { get; set; } |
38 |
public MarkupToPDF.Controls.Common.PaintSet paint { get; set; } |
39 |
} |
40 |
|
41 |
public enum EventType |
42 |
{ |
43 |
Create, |
44 |
Delete, |
45 |
Operation |
46 |
} |
47 |
} |