'Declaration Overloads Function CreateRadialGradientBrush( _ ByVal centerPoint As PointF, _ ByVal focusPoint As PointF, _ ByVal centerRadius As PointF, _ ByVal centerColor As Color, _ ByVal surroundingColor As Color, _ ByVal stops As IEnumerable(Of GradientStopColor), _ ByVal brushBounds As Nullable(Of RectangleF), _ ByVal brushTransform As Nullable(Of Matrix3x2) _ ) As BrushEx
BrushEx CreateRadialGradientBrush( PointF centerPoint, PointF focusPoint, PointF centerRadius, Color centerColor, Color surroundingColor, IEnumerable<GradientStopColor> stops, Nullable<RectangleF> brushBounds, Nullable<Matrix3x2> brushTransform )
Parameters
- centerPoint
- Start point of the gradient
- focusPoint
- Focus point of the gradient
- centerRadius
- Radius of the gradient, should be used for the IDrawingCanvas.CreateRadialGradientBrush
- centerColor
- Start color in the center of the gradient
- surroundingColor
- End color of the gradient
- stops
- Gradient color stops
- brushBounds
- Gradient brush bounds
- brushTransform
- Gradient brush ransform
Return Value
Gradient brush