RadialGradientPaint Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RadialGradientPaint() |
Initializes a new instance of the RadialGradientPaint class with default center (0.5,0.5) and radius 0.5. |
RadialGradientPaint(GradientPaint) |
Initializes a new instance of the RadialGradientPaint class with properties from another gradient paint. |
RadialGradientPaint(PaintGradientStop[]) |
Initializes a new instance of the RadialGradientPaint class with the specified gradient stops. |
RadialGradientPaint(Point, Double) |
Initializes a new instance of the RadialGradientPaint class with the specified center point and radius. |
RadialGradientPaint(PaintGradientStop[], Point, Double) |
RadialGradientPaint()
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
Initializes a new instance of the RadialGradientPaint class with default center (0.5,0.5) and radius 0.5.
public:
RadialGradientPaint();
public RadialGradientPaint();
Public Sub New ()
Applies to
RadialGradientPaint(GradientPaint)
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
Initializes a new instance of the RadialGradientPaint class with properties from another gradient paint.
public:
RadialGradientPaint(Microsoft::Maui::Graphics::GradientPaint ^ gradientPaint);
public RadialGradientPaint(Microsoft.Maui.Graphics.GradientPaint gradientPaint);
new Microsoft.Maui.Graphics.RadialGradientPaint : Microsoft.Maui.Graphics.GradientPaint -> Microsoft.Maui.Graphics.RadialGradientPaint
Public Sub New (gradientPaint As GradientPaint)
Parameters
- gradientPaint
- GradientPaint
The gradient paint to copy properties from.
Applies to
RadialGradientPaint(PaintGradientStop[])
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
Initializes a new instance of the RadialGradientPaint class with the specified gradient stops.
public:
RadialGradientPaint(cli::array <Microsoft::Maui::Graphics::PaintGradientStop ^> ^ gradientStops);
public RadialGradientPaint(Microsoft.Maui.Graphics.PaintGradientStop[] gradientStops);
new Microsoft.Maui.Graphics.RadialGradientPaint : Microsoft.Maui.Graphics.PaintGradientStop[] -> Microsoft.Maui.Graphics.RadialGradientPaint
Public Sub New (gradientStops As PaintGradientStop())
Parameters
- gradientStops
- PaintGradientStop[]
The color stops for the gradient.
Applies to
RadialGradientPaint(Point, Double)
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
Initializes a new instance of the RadialGradientPaint class with the specified center point and radius.
public:
RadialGradientPaint(Microsoft::Maui::Graphics::Point center, double radius);
public RadialGradientPaint(Microsoft.Maui.Graphics.Point center, double radius);
new Microsoft.Maui.Graphics.RadialGradientPaint : Microsoft.Maui.Graphics.Point * double -> Microsoft.Maui.Graphics.RadialGradientPaint
Public Sub New (center As Point, radius As Double)
Parameters
- center
- Point
The center point of the radial gradient.
- radius
- Double
The radius of the radial gradient.
Applies to
RadialGradientPaint(PaintGradientStop[], Point, Double)
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
- Source:
- RadialGradientPaint.cs
public:
RadialGradientPaint(cli::array <Microsoft::Maui::Graphics::PaintGradientStop ^> ^ gradientStops, Microsoft::Maui::Graphics::Point center, double radius);
public RadialGradientPaint(Microsoft.Maui.Graphics.PaintGradientStop[] gradientStops, Microsoft.Maui.Graphics.Point center, double radius);
new Microsoft.Maui.Graphics.RadialGradientPaint : Microsoft.Maui.Graphics.PaintGradientStop[] * Microsoft.Maui.Graphics.Point * double -> Microsoft.Maui.Graphics.RadialGradientPaint
Public Sub New (gradientStops As PaintGradientStop(), center As Point, radius As Double)
Parameters
- gradientStops
- PaintGradientStop[]
- center
- Point
- radius
- Double