[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.GradientSection

GradientSection Class

Represents the sections of a color gradient, continuously smooth color transitions.

Inheritance
GradientSection
Implements
Namespace: FarPoint.Win.Spread.DrawingSpace
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(GradientSectionConverter))]
public class GradientSection : ISerializeSupport
<TypeConverter(GetType(GradientSectionConverter))>
Public Class GradientSection
    Implements ISerializeSupport

Constructors

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.

Properties

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.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the gradient section from XML.

Serialize(XmlTextWriter)

Saves the gradient section to XML.