LinearGradientBrush.IHandler

public interface LinearGradientBrush.IHandler : Brush.IHandler
Handler interface for the LinearGradientBrush

Methods

Create

#
object Create(Color startColor, Color endColor, PointF startPoint, PointF endPoint)
Creates a linear gradient brush
startColor (Color)Start color.
endColor (Color)End color.
startPoint (PointF)Start point.
endPoint (PointF)End point.
ControlObject for the brush

Create

#
object Create(RectangleF rectangle, Color startColor, Color endColor, float angle)
Create the specified rectangle, startColor, endColor and angle.
rectangle (RectangleF)Rectangle.
startColor (Color)Start color.
endColor (Color)End color.
angle (float)Angle.
ControlObject for the brush

GetGradientWrap

#
GradientWrapMode GetGradientWrap(LinearGradientBrush widget)
Gets the gradient wrap mode
widget (LinearGradientBrush)Brush to get the gradient wrap mode
The gradient wrap mode for the brush

GetTransform

#
IMatrix GetTransform(LinearGradientBrush widget)
Gets the transform for the specified brush
widget (LinearGradientBrush)Brush to get the transform
The current transform for the specified brush

SetGradientWrap

#
void SetGradientWrap(LinearGradientBrush widget, GradientWrapMode gradientWrap)
Sets the gradient wrap mode

SetTransform

#
void SetTransform(LinearGradientBrush widget, IMatrix transform)
Sets the transform for the specified brush