2 // System.Drawing.Drawing2D.LinearGradientBrush.cs
\r
5 // Dennis Hayes (dennish@Raytek.com)
\r
7 // (C) 2002/3 Ximian, Inc
\r
11 namespace System.Drawing.Drawing2D
\r
14 /// Summary description for LinearGradientBrush.
\r
16 public sealed class LinearGradientBrush : Brush
\r
18 private Color[] linear_colors;
\r
21 public LinearGradientBrush (Point point1, Point point2, Color color1, Color color2) {
\r
22 linear_colors = new Color[] { color1, color2 };
\r
25 public LinearGradientBrush (PointF point1, PointF point2, Color color1, Color color2) {
\r
26 linear_colors = new Color[] { color1, color2 };
\r
29 public LinearGradientBrush (Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode) {
\r
30 linear_colors = new Color[] { color1, color2 };
\r
35 public Blend Blend {
\r
37 throw new NotImplementedException ();
\r
43 public bool GammaCorrection {
\r
45 throw new NotImplementedException ();
\r
51 public ColorBlend InterpolationColors {
\r
53 throw new NotImplementedException ();
\r
59 public Color [] LinearColors {
\r
61 return linear_colors;
\r
64 linear_colors[0] = value[0];
\r
65 linear_colors[1] = value[1];
\r
68 public RectangleF Rectange {
\r
70 throw new NotImplementedException ();
\r
73 public Matrix Transform {
\r
75 throw new NotImplementedException ();
\r
81 public WrapMode WrapMode {
\r
83 throw new NotImplementedException ();
\r
91 public override object Clone (){
\r
92 throw new NotImplementedException ();
\r
95 public void MultiplyTransform (Matrix matrix){
\r
96 throw new NotImplementedException ();
\r
99 public void MultiplyTransform (Matrix matrix, MatrixOrder order){
\r
100 throw new NotImplementedException ();
\r
103 public void ResetTransform (){
\r
104 throw new NotImplementedException ();
\r
107 public void RotateTransform (float angle, MatrixOrder order){
\r
108 throw new NotImplementedException ();
\r
111 public void RotateTransform (float angle){
\r
112 throw new NotImplementedException ();
\r