Share via


GradientPaint Constructors

Definition

Overloads

GradientPaint()

Initializes a new instance of the GradientPaint class with default white-to-white gradient stops.

GradientPaint(GradientPaint)

Initializes a new instance of the GradientPaint class by copying from another gradient paint.

GradientPaint()

Source:
GradientPaint.cs
Source:
GradientPaint.cs
Source:
GradientPaint.cs

Initializes a new instance of the GradientPaint class with default white-to-white gradient stops.

public:
 GradientPaint();
public GradientPaint();
Public Sub New ()

Applies to

GradientPaint(GradientPaint)

Source:
GradientPaint.cs
Source:
GradientPaint.cs
Source:
GradientPaint.cs

Initializes a new instance of the GradientPaint class by copying from another gradient paint.

public:
 GradientPaint(Microsoft::Maui::Graphics::GradientPaint ^ source);
public GradientPaint(Microsoft.Maui.Graphics.GradientPaint source);
new Microsoft.Maui.Graphics.GradientPaint : Microsoft.Maui.Graphics.GradientPaint -> Microsoft.Maui.Graphics.GradientPaint
Public Sub New (source As GradientPaint)

Parameters

source
GradientPaint

The source gradient paint to copy from.

Applies to