markus / MarkupToPDF / Controls / Common / IMarkupCommonData.cs @ fa48eb85
이력 | 보기 | 이력해설 | 다운로드 (1.07 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 |
using System.Windows; |
7 |
using System.Windows.Media; |
8 |
|
9 |
|
10 |
namespace MarkupToPDF.Controls.Common |
11 |
{ |
12 |
public interface IMarkupCommonData |
13 |
{ |
14 |
bool IsSelected { get; set; } |
15 |
|
16 |
Point StartPoint { get; set; } |
17 |
|
18 |
Point EndPoint { get; set; } |
19 |
|
20 |
ControlType ControlType { get; set; } |
21 |
|
22 |
//MarkupWindow MarkupWindow { get; set; } |
23 |
} |
24 |
|
25 |
|
26 |
public interface IMarkupControlData : IMarkupCommonData |
27 |
{ |
28 |
double CanvasX { get; set; } |
29 |
|
30 |
double CanvasY { get; set; } |
31 |
} |
32 |
|
33 |
public interface ITextControl : IPath |
34 |
{ |
35 |
FontFamily TextFamily { get; set; } |
36 |
bool IsEditingMode { get; set; } |
37 |
} |
38 |
|
39 |
public interface IShapeControl : IPath |
40 |
{ |
41 |
double CommentAngle { get; set; } |
42 |
PaintSet Paint { get; set; } |
43 |
//강인구 추가 |
44 |
//DoubleCollection DashSize { get; set; } |
45 |
//void ChangePaint(PaintSet state); |
46 |
} |
47 |
|
48 |
public enum MarkupWindow |
49 |
{ |
50 |
Main, |
51 |
|
52 |
OverView |
53 |
} |
54 |
} |