March 2003
Intermediate to advanced
896 pages
32h 35m
English
ColorBlend
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; } }
LinearGradientBrush.InterpolationColors,
PathGradientBrush.InterpolationColors
LinearGradientBrush.InterpolationColors,
PathGradientBrush.InterpolationColors
Read now
Unlock full access