
## GradientBrush class

This class is used for encapsulating LinearGradientBrush and PathGradientBrush with possibility to set wrap mode to clamp.<br/>            Native gradient brushes always throw an exception when someone tries to set WrapMode property to WrapMode.Clamp.



The GradientBrush type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
| `GradientBrush(native_brush)` | Initializes a new instance of the GradientBrush class |
## Properties
| Name | Description |
| :- | :- |
| `wrap_mode` | Returns or specifies wrap mode for this gradient brush. It can be WrapMode.Clamp, that results in throwing exception in  native gradient brushes. |
| `native_brush` | Returns native gradient brush. |
| `bounds` | Returns or specifies bounds for this gradient brushes. |

### See Also

* module [`aspose.page.eps`](/page/python-net/aspose.page.eps/)
* package [`aspose.page`](/page/python-net/)

