lixiaojun
2025-03-28 bc99451a0ab10dbba6ac1fe4cea020d68bbbad2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
namespace Yw.WinFrmUI.Hydro
{
    /// <summary>
    /// 
    /// </summary>
    public class StyleLine2dL3d
    {
        /// <summary>
        /// 
        /// </summary>
        public StyleLine2dL3d() { }
 
        /// <summary>
        /// 
        /// </summary>
        public StyleLine2dL3d(float width, Color color)
        {
            this.Width = width;
            this.Color = color;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public StyleLine2dL3d(float width, string htmlColor)
        {
            this.Width = width;
            this.Color = ColorTranslator.FromHtml(htmlColor);
        }
 
        /// <summary>
        /// 
        /// </summary>
        public StyleLine2dL3d(StyleLine2dL3d rhs)
        {
            this.Width = rhs.Width;
            this.Color = rhs.Color;
        }
 
        /// <summary>
        /// 线宽
        /// </summary>
        public float Width { get; set; }
 
        /// <summary>
        /// 线色
        /// </summary>
        public Color Color { get; set; }
 
    }
}