[]
Initializes a new BrushEx linear gradient brush object.
public BrushEx CreateLinearGradientBrush(PointF point1, PointF point2, Color color1, Color color2, BlendEx blend = null)
| Type | Name | Description |
|---|---|---|
| PointF | point1 | |
| PointF | point2 | |
| Color | color1 | |
| Color | color2 | |
| BlendEx | blend |
| Type | Description |
|---|---|
| BrushEx |
Create linear gradient brush
public BrushEx CreateLinearGradientBrush(PointF point1, PointF point2, Color color1, Color color2, IEnumerable<GradientStopColor> stops)
| Type | Name | Description |
|---|---|---|
| PointF | point1 | Start point |
| PointF | point2 | End point |
| Color | color1 | Start color |
| Color | color2 | End color |
| IEnumerable<GradientStopColor> | stops | Gradient color stops |
| Type | Description |
|---|---|
| BrushEx | Gradient brush |