Aspose::Page::EPS::GradientBrush class
Contents
[
Hide
]GradientBrush class
This class is used for encapsulating LinearGradientBrush and PathGradientBrush with possibility to set wrap mode to clamp. Native gradient brushes always throw an exception when someone tries to set WrapMode property to WrapMode.Clamp.
class GradientBrush : public System::Drawing::Brush
Methods
Method | Description |
---|---|
Clone() override | Clones this brush. |
get_Bounds() const | Returns or specifies bounds for this gradient brushes. |
get_NativeBrush() const | Returns native gradient brush. |
get_WrapMode() const | Returns or specifies wrap mode for this gradient brush. It can be WrapMode.Clamp, that results in throwing exception in native gradient brushes. |
GradientBrush(System::SharedPtr<System::Drawing::Brush>) | Creates new instance of GradientBrush. |
set_Bounds(System::Drawing::RectangleF) | Returns or specifies bounds for this gradient brushes. |
set_WrapMode(System::Drawing::Drawing2D::WrapMode) | Returns or specifies wrap mode for this gradient brush. It can be WrapMode.Clamp, that results in throwing exception in native gradient brushes. |
See Also
- Class Brush
- Namespace Aspose::Page::EPS
- Library Aspose.Page for C++