Class XpsGradientStop

Class XpsGradientStop

Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.1.2)

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

Inheritance

objectXpsObjectXpsGradientStop

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Color

The gradient stop color.

public XpsColor Color { get; }

Property Value

XpsColor

Offset

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.

public float Offset { get; }

Property Value

float

Methods

Clone()

Clones this gradient stop.

public XpsGradientStop Clone()

Returns

XpsGradientStop

Clone of this gradient stop.

 English