ColorBlend

ColorBlend

System.Drawing.Drawing2D (system.drawing.dll) sealed class

This class allows you to define a multicolored gradient blend for the LinearGradientBrush . Similar to Blend , it consists of two arrays: the Colors and the Positions . The brush linearly interpolates between the colors at the specified positions to produce a smooth gradient.

 public sealed class  ColorBlend  {  // Public Constructors  public  ColorBlend  ();    public  ColorBlend  (int  count  );  // Public Instance Properties  public Color[ ]  Colors  {set; get; }    public float[ ]  Positions  {set; get; } } 

Returned By

LinearGradientBrush.InterpolationColors , PathGradientBrush.InterpolationColors

Passed To

LinearGradientBrush.InterpolationColors , PathGradientBrush.InterpolationColors



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net