Aspose::Page::EPS::GradientBrush class

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

MethodDescription
Clone() overrideClones this brush.
get_Bounds() constReturns or specifies bounds for this gradient brushes.
get_NativeBrush() constReturns native gradient brush.
get_WrapMode() constReturns 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