Class XpsLinearGradientBrush

Class XpsLinearGradientBrush

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

Class incapsulating LinearGradientBrush property element features. This element is used to specify a linear gradient brush along a vector.

public sealed class XpsLinearGradientBrush : XpsGradientBrush

Inheritance

objectXpsObjectXpsBrushXpsTransformableBrushXpsGradientBrushXpsLinearGradientBrush

Inherited Members

XpsGradientBrush.GradientStops, XpsGradientBrush.ColorInterpolationMode, XpsGradientBrush.SpreadMethod, XpsTransformableBrush.Transform, XpsBrush.Opacity, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

EndPoint

Returns/sets the end point of the linear gradient.

public PointF EndPoint { get; set; }

Property Value

PointF

StartPoint

Returns/sets the starting point of the linear gradient.

public PointF StartPoint { get; set; }

Property Value

PointF

Methods

Clone()

Clones this linear gradient brush.

public XpsLinearGradientBrush Clone()

Returns

XpsLinearGradientBrush

Clone of this linear gradient brush.

 English