h-you / trunk / src / ProcessManagement / ProcessManagement / DataModel / OfficeShapeDefine.cs @ 376
履歴 | 表示 | アノテート | ダウンロード (5.83 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Drawing; |
4 |
using System.Linq; |
5 |
using System.Text; |
6 |
|
7 |
namespace ProcessManagement.DataModel |
8 |
{ |
9 |
/// <summary> |
10 |
/// Office図形描画情報定義 |
11 |
/// </summary> |
12 |
public class OfficeShapeDefine |
13 |
{ |
14 |
#region メンバ変数 |
15 |
private string m_ShapeSheetName = string.Empty; // 図形シート名称 |
16 |
private string m_ShapeName = string.Empty; // 図形名称 |
17 |
|
18 |
private float m_ShapeDrowPointX = 0f; // 図形描画位置 X |
19 |
private float m_ShapeDrowPointY = 0f; // 図形描画位置 Y |
20 |
private float m_ShapeWidth = 0f; // 図形描画サイズ Width |
21 |
private float m_ShapeHeight = 0f; // 図形描画サイズ Height |
22 |
|
23 |
//private Color m_ShapeLineColor = Color.Transparent; // 図形描画色 |
24 |
//private bool m_ShapeFillVisible = false; // 図形背景透過(true:背景塗潰し有 false:背景塗潰し無) |
25 |
//private Color m_ShapeFillColor = Color.Transparent; // 図形背景色 |
26 |
|
27 |
//private bool m_DrowingText = false; // 文字描画(true:文字描画有 false:文字描画無) |
28 |
//private string m_NameComplexScript = "+mn-cs"; // コンプレックス スクリプト用のフォント名 |
29 |
//private string m_FontName = "MS 明朝"; // フォント名 |
30 |
//private bool m_FillDrow = true; // 描画色使用(true:描画色有 false:描画色無) |
31 |
//private Color m_FillColor = Color.Transparent; // 描画色 |
32 |
private float m_FontSize = 12f; // フォントサイズ |
33 |
private string m_DrowText = string.Empty; // 描画文字列 |
34 |
#endregion |
35 |
|
36 |
#region コンストラクタ |
37 |
#endregion |
38 |
|
39 |
#region プロパティ |
40 |
/// <summary> |
41 |
/// 図形シート名称 |
42 |
/// </summary> |
43 |
public string ShapeSheetName |
44 |
{ |
45 |
get { return m_ShapeSheetName; } |
46 |
set { m_ShapeSheetName = value; } |
47 |
} |
48 |
/// <summary> |
49 |
/// 図形名称 |
50 |
/// </summary> |
51 |
public string ShapeName |
52 |
{ |
53 |
get { return m_ShapeName; } |
54 |
set { m_ShapeName = value; } |
55 |
} |
56 |
/// <summary> |
57 |
/// 図形描画位置 X |
58 |
/// </summary> |
59 |
public float ShapeDrowPointX |
60 |
{ |
61 |
get { return m_ShapeDrowPointX; } |
62 |
set { m_ShapeDrowPointX = value; } |
63 |
} |
64 |
/// <summary> |
65 |
/// 図形描画位置 Y |
66 |
/// </summary> |
67 |
public float ShapeDrowPointY |
68 |
{ |
69 |
get { return m_ShapeDrowPointY; } |
70 |
set { m_ShapeDrowPointY = value; } |
71 |
} |
72 |
/// <summary> |
73 |
/// 図形描画サイズ Width |
74 |
/// </summary> |
75 |
public float ShapeWidth |
76 |
{ |
77 |
get { return m_ShapeWidth; } |
78 |
set { m_ShapeWidth = value; } |
79 |
} |
80 |
/// <summary> |
81 |
/// 図形描画サイズ Height |
82 |
/// </summary> |
83 |
public float ShapeHeight |
84 |
{ |
85 |
get { return m_ShapeHeight; } |
86 |
set { m_ShapeHeight = value; } |
87 |
} |
88 |
///// <summary> |
89 |
///// 図形描画色 |
90 |
///// </summary> |
91 |
//public Color ShapeLineColor |
92 |
//{ |
93 |
// get { return m_ShapeLineColor; } |
94 |
// set { m_ShapeLineColor = value; } |
95 |
//} |
96 |
///// <summary> |
97 |
///// 図形背景透過(true:背景塗潰し有 false:背景塗潰し無) |
98 |
///// </summary> |
99 |
//public bool ShapeFillVisible |
100 |
//{ |
101 |
// get { return m_ShapeFillVisible; } |
102 |
// set { m_ShapeFillVisible = value; } |
103 |
//} |
104 |
///// <summary> |
105 |
///// 図形背景色 |
106 |
///// </summary> |
107 |
//public Color ShapeFillColor |
108 |
//{ |
109 |
// get { return m_ShapeFillColor; } |
110 |
// set { m_ShapeFillColor = value; } |
111 |
//} |
112 |
///// <summary> |
113 |
///// 文字描画(true:文字描画有 false:文字描画無) |
114 |
///// </summary> |
115 |
//public bool DrowingText |
116 |
//{ |
117 |
// get { return m_DrowingText; } |
118 |
// set { m_DrowingText = value; } |
119 |
//} |
120 |
///// <summary> |
121 |
///// コンプレックス スクリプト用のフォント名 |
122 |
///// </summary> |
123 |
//public string NameComplexScript |
124 |
//{ |
125 |
// get { return m_NameComplexScript; } |
126 |
// set { m_NameComplexScript = value; } |
127 |
//} |
128 |
///// <summary> |
129 |
///// フォント名 |
130 |
///// </summary> |
131 |
//public string FontName |
132 |
//{ |
133 |
// get { return m_FontName; } |
134 |
// set { m_FontName = value; } |
135 |
//} |
136 |
///// <summary> |
137 |
///// 描画色使用(true:描画色有 false:描画色無) |
138 |
///// </summary> |
139 |
//public bool FillDrow |
140 |
//{ |
141 |
// get { return m_FillDrow; } |
142 |
// set { m_FillDrow = value; } |
143 |
//} |
144 |
///// <summary> |
145 |
///// 描画色 |
146 |
///// </summary> |
147 |
//public Color FillColor |
148 |
//{ |
149 |
// get { return m_FillColor; } |
150 |
// set { m_FillColor = value; } |
151 |
//} |
152 |
/// <summary> |
153 |
/// フォントサイズ |
154 |
/// </summary> |
155 |
public float FontSize |
156 |
{ |
157 |
get { return m_FontSize; } |
158 |
set { m_FontSize = value; } |
159 |
} |
160 |
/// <summary> |
161 |
/// 描画文字列 |
162 |
/// </summary> |
163 |
public string DrowText |
164 |
{ |
165 |
get { return m_DrowText; } |
166 |
set { m_DrowText = value; } |
167 |
} |
168 |
|
169 |
#endregion |
170 |
} |
171 |
} |