Aspose::Page::XPS::XpsModel::XpsGradientBrush class

XpsGradientBrush class

Class incapsulating common features of LinerGradientBrush and RadialGradientBrush elements.

class XpsGradientBrush : public Aspose::Page::XPS::XpsModel::XpsTransformableBrush

Methods

MethodDescription
get_ColorInterpolationMode() constReturns/sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.
get_GradientStops() constReturns/sets list of gradient stops that comprise the gradient.
get_SpreadMethod() constReturns/sets value describing how the brush should fill the content area outside of the primary, initial gradient area.
set_ColorInterpolationMode(XpsColorInterpolationMode)Returns/sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.
set_GradientStops(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsGradientStop>>>)Returns/sets list of gradient stops that comprise the gradient.
set_SpreadMethod(XpsSpreadMethod)Returns/sets value describing how the brush should fill the content area outside of the primary, initial gradient area.

See Also