Blend

Blend

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

This allows you to define a gradient scheme for the LinearGradientBrush . It consists of two arrays: the Factors and the Positions . The Factors indicate the relative proportions of the two colors at the corresponding Positions . The system linearly interpolates between the specified positions to produce a smooth gradient.

Note that the values in the Factors array must be between 0.0 and 1.0 (from 100% color 2, to 100% color 1).

See ColorBlend for a multicolored blend.

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

Returned By

LinearGradientBrush.Blend , PathGradientBrush.Blend

Passed To

LinearGradientBrush.Blend , PathGradientBrush.Blend



. 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