[]
Represents the sections of a color gradient, continuously smooth color transitions.
[TypeConverter(typeof(GradientSectionConverter))]
public class GradientSection : ISerializeSupport
<TypeConverter(GetType(GradientSectionConverter))>
Public Class GradientSection
Implements ISerializeSupport
Name | Description |
---|---|
GradientSection(Color) | Creates a new color gradient section with default settings. |
GradientSection(Color, int) | Creates a new color gradient section with the specified parameters. |
GradientSection(Color, int, int) | Creates a new color gradient section with the specified parameters. |
Name | Description |
---|---|
AlphaBlend | Gets or sets the amount of alpha-blending of the gradient. |
Amount | Gets or sets the amount of the gradient. |
Color | Gets or sets the color of the gradient. |
Name | Description |
---|---|
Deserialize(XmlNodeReader) | Loads the gradient section from XML. |
Serialize(XmlTextWriter) | Saves the gradient section to XML. |