## XpsGradientBrush class


Class incapsulating common features of LinerGradientBrush and RadialGradientBrush elements.

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

## Methods

| Method | Description |
| --- | --- |
| [get_ColorInterpolationMode](./get_colorinterpolationmode/)() const | Returns/sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified. |
| [get_GradientStops](./get_gradientstops/)() const | Returns/sets list of gradient stops that comprise the gradient. |
| [get_SpreadMethod](./get_spreadmethod/)() const | Returns/sets value describing how the brush should fill the content area outside of the primary, initial gradient area. |
| [set_ColorInterpolationMode](./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](./set_gradientstops/)(System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<XpsGradientStop\>\>\>) | Returns/sets list of gradient stops that comprise the gradient. |
| [set_SpreadMethod](./set_spreadmethod/)(XpsSpreadMethod) | Returns/sets value describing how the brush should fill the content area outside of the primary, initial gradient area. |
## See Also

* Class [XpsTransformableBrush](../xpstransformablebrush/)
* Namespace [Aspose::Page::XPS::XpsModel](../)
* Library [Aspose.Page for C++](../../)
