Class XpsGradientBrush

Class XpsGradientBrush

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

Class incapsulating common features of LinerGradientBrush and RadialGradientBrush elements.

public abstract class XpsGradientBrush : XpsTransformableBrush

Inheritance

objectXpsObjectXpsBrushXpsTransformableBrushXpsGradientBrush

Derived

XpsLinearGradientBrush, XpsRadialGradientBrush

Inherited Members

XpsTransformableBrush.Transform, XpsBrush.Opacity, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

ColorInterpolationMode

Returns/sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.

public XpsColorInterpolationMode ColorInterpolationMode { get; set; }

Property Value

XpsColorInterpolationMode

GradientStops

Returns/sets list of gradient stops that comprise the gradient.

public List<xpsgradientstop> GradientStops { get; set; }

Property Value

List<XpsGradientStop&gt;

SpreadMethod

Returns/sets value describing how the brush should fill the content area outside of the primary, initial gradient area.

public XpsSpreadMethod SpreadMethod { get; set; }

Property Value

XpsSpreadMethod

 English