Class XpsGradientBrush
Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.4.0)
Class incapsulating common features of LinerGradientBrush and RadialGradientBrush elements.
public abstract class XpsGradientBrush : XpsTransformableBrush
Inheritance
object ← XpsObject ← XpsBrush ← XpsTransformableBrush ← XpsGradientBrush
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
GradientStops
Returns/sets list of gradient stops that comprise the gradient.
public List<xpsgradientstop> GradientStops { get; set; }
Property Value
List < XpsGradientStop >
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; }