* Xr/Bitmap.cs: Reformatted. All public methods turn into
[mono.git] / mcs / class / System.Drawing / System.Drawing.Drawing2D / LinearGradientBrush.cs
1 //\r
2 // System.Drawing.Drawing2D.LinearGradientBrush.cs\r
3 //\r
4 // Author:\r
5 //   Dennis Hayes (dennish@Raytek.com)\r
6 //\r
7 // (C) 2002/3 Ximian, Inc\r
8 //\r
9 using System;\r
10 \r
11 namespace System.Drawing.Drawing2D\r
12 {\r
13         /// <summary>\r
14         /// Summary description for LinearGradientBrush.\r
15         /// </summary>\r
16         public sealed class LinearGradientBrush : Brush\r
17         {\r
18                 private Color[] linear_colors;\r
19                 \r
20                 //Constructors.\r
21                 public LinearGradientBrush (Point point1, Point point2, Color color1, Color color2) {\r
22                         linear_colors = new Color[] { color1, color2 };\r
23                 }\r
24 \r
25                 public LinearGradientBrush (PointF point1, PointF point2, Color color1, Color color2) {\r
26                         linear_colors = new Color[] { color1, color2 };\r
27                 }\r
28 \r
29                 public LinearGradientBrush (Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode) {\r
30                         linear_colors = new Color[] { color1, color2 };\r
31                 }\r
32 \r
33 \r
34                 //public Properties\r
35                 public Blend Blend {\r
36                         get {\r
37                                 throw new NotImplementedException ();\r
38                         }\r
39                         set {\r
40                         }\r
41                 }\r
42 \r
43                 public bool GammaCorrection {\r
44                         get {\r
45                                 throw new NotImplementedException ();\r
46                         }\r
47                         set {\r
48                         }\r
49                 }\r
50 \r
51                 public ColorBlend InterpolationColors {\r
52                         get {\r
53                                 throw new NotImplementedException ();\r
54                         }\r
55                         set {\r
56                         }\r
57                 }\r
58 \r
59                 public Color [] LinearColors {\r
60                         get {\r
61                                 return linear_colors;\r
62                         }\r
63                         set {\r
64                                 linear_colors[0] = value[0];\r
65                                 linear_colors[1] = value[1];\r
66                         }\r
67                 }\r
68                 public RectangleF Rectange {\r
69                         get {\r
70                                 throw new NotImplementedException ();\r
71                         }\r
72                 }\r
73                 public Matrix Transform {\r
74                         get {\r
75                                 throw new NotImplementedException ();\r
76                         }\r
77                         set {\r
78                         }\r
79                 }\r
80 \r
81                 public WrapMode WrapMode {\r
82                         get {\r
83                                 throw new NotImplementedException ();\r
84                         }\r
85                         set {\r
86                         }\r
87                 }\r
88 \r
89                 // Public Methods\r
90                 \r
91                 public override object Clone (){\r
92                         throw new NotImplementedException ();\r
93                 }\r
94 \r
95                 public void MultiplyTransform (Matrix matrix){\r
96                         throw new NotImplementedException ();\r
97                 }\r
98 \r
99                 public void MultiplyTransform (Matrix matrix, MatrixOrder order){\r
100                         throw new NotImplementedException ();\r
101                 }\r
102 \r
103                 public void ResetTransform (){\r
104                         throw new NotImplementedException ();\r
105                 }\r
106 \r
107                 public void RotateTransform (float angle, MatrixOrder order){\r
108                         throw new NotImplementedException ();\r
109                 }\r
110 \r
111                 public void RotateTransform (float angle){\r
112                         throw new NotImplementedException ();\r
113                 }\r
114 \r
115         }\r
116 }\r