Methods
Create
#Creates a linear gradient brush
Create
#Create the specified rectangle, startColor, endColor and angle.
Parameters:
| rectangle (RectangleF) | Rectangle. |
| startColor (Color) | Start color. |
| endColor (Color) | End color. |
| angle (float) | Angle. |
Returns: ControlObject for the brush
GetGradientWrap
#Gets the gradient wrap mode
Parameters:
| widget (LinearGradientBrush) | Brush to get the gradient wrap mode |
Returns: The gradient wrap mode for the brush
GetTransform
#Gets the transform for the specified brush
Parameters:
| widget (LinearGradientBrush) | Brush to get the transform |
Returns: The current transform for the specified brush
SetGradientWrap
#Sets the gradient wrap mode
Parameters:
| widget (LinearGradientBrush) | Brush to set the wrap mode |
| gradientWrap (GradientWrapMode) | Gradient wrap mode to set |
SetTransform
#Sets the transform for the specified brush
Parameters:
| widget (LinearGradientBrush) | Brush to set the transform |
| transform (IMatrix) | Transform to set to the brush |