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
36 public Blend Blend {
\r
38 throw new NotImplementedException ();
\r
45 public bool GammaCorrection {
\r
47 throw new NotImplementedException ();
\r
54 public ColorBlend InterpolationColors {
\r
56 throw new NotImplementedException ();
\r
62 public Color [] LinearColors {
\r
64 return linear_colors;
\r
67 linear_colors[0] = value[0];
\r
68 linear_colors[1] = value[1];
\r
73 public RectangleF Rectangle {
\r
75 throw new NotImplementedException ();
\r
80 public Matrix Transform {
\r
82 throw new NotImplementedException ();
\r
89 public WrapMode WrapMode {
\r
91 throw new NotImplementedException ();
\r
100 public override object Clone (){
\r
101 throw new NotImplementedException ();
\r
105 public void MultiplyTransform (Matrix matrix){
\r
106 throw new NotImplementedException ();
\r
110 public void MultiplyTransform (Matrix matrix, MatrixOrder order){
\r
111 throw new NotImplementedException ();
\r
115 public void ResetTransform (){
\r
116 throw new NotImplementedException ();
\r
120 public void RotateTransform (float angle, MatrixOrder order){
\r
121 throw new NotImplementedException ();
\r
125 public void RotateTransform (float angle){
\r
126 throw new NotImplementedException ();
\r