VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing.SkiaSharp Namespace / SkiaSharpRadialGradientBrush Class / SkiaSharpRadialGradientBrush Constructor(PointF,Single,GradientStop[])
Syntax Exceptions Requirements SeeAlso
In This Topic
    SkiaSharpRadialGradientBrush Constructor(PointF,Single,GradientStop[])
    In This Topic
    Initializes a new instance of the SkiaSharpRadialGradientBrush class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal center
    The center of the radial gradient.
    As System.Drawing.PointF, _
    ByVal radius
    The radius of the radial gradient.
    As Single, _
    ByVal ParamArray gradientStops
    The gradient stops of the brush.
    () As Vintasoft.Imaging.Drawing.GradientStop _
    )
    public SkiaSharpRadialGradientBrush(
    System.Drawing.PointF center,
    float radius,
    params Vintasoft.Imaging.Drawing.GradientStop[] gradientStops
    )
    public: SkiaSharpRadialGradientBrush(
    System.Drawing.PointF center,
    float radius,
    params Vintasoft.Imaging.Drawing.GradientStop*[]* gradientStops
    )
    public:
    SkiaSharpRadialGradientBrush(
    System.Drawing.PointF center,
    float radius,
    ... array<Vintasoft.Imaging.Drawing.GradientStop^>^ gradientStops
    )

    Parameters

    center
    The center of the radial gradient.
    radius
    The radius of the radial gradient.
    gradientStops
    The gradient stops of the brush.
    Exceptions
    ExceptionDescription
    Thrown if gradientStops is null.
    Thrown if gradientStops length is less than 2 or radius is equal or less than 0.
    Requirements

    Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also