Class XpsGradientStop

XpsGradientStop class

Class incapsulating GradientStop element features. This element is used by both the LinearGradientBrush and RadialGradientBrush elements to define the location and range of color progression for rendering a gradient.

public sealed class XpsGradientStop : XpsObject

Properties

NameDescription
Color { get; }The gradient stop color.
Offset { get; }Returns/sets the gradient offset. The offset indicates a point along the progression of the gradient at which a color is specified. Colors between gradient offsets in the progression are interpolated.

Methods

NameDescription
Clone()Clones this gradient stop.

See Also