Udostępnij za pośrednictwem


LinearGradientBrush Constructors

Definition

Overloads

LinearGradientBrush()
LinearGradientBrush(GradientStopCollection)
LinearGradientBrush(GradientStopCollection, Point, Point)

LinearGradientBrush()

Source:
LinearGradientBrush.cs
Source:
LinearGradientBrush.cs
public:
 LinearGradientBrush();
public LinearGradientBrush ();
Public Sub New ()

Applies to

LinearGradientBrush(GradientStopCollection)

Source:
LinearGradientBrush.cs
Source:
LinearGradientBrush.cs
public:
 LinearGradientBrush(Microsoft::Maui::Controls::GradientStopCollection ^ gradientStops);
public LinearGradientBrush (Microsoft.Maui.Controls.GradientStopCollection gradientStops);
new Microsoft.Maui.Controls.LinearGradientBrush : Microsoft.Maui.Controls.GradientStopCollection -> Microsoft.Maui.Controls.LinearGradientBrush
Public Sub New (gradientStops As GradientStopCollection)

Parameters

gradientStops
GradientStopCollection

Applies to

LinearGradientBrush(GradientStopCollection, Point, Point)

Source:
LinearGradientBrush.cs
Source:
LinearGradientBrush.cs
public:
 LinearGradientBrush(Microsoft::Maui::Controls::GradientStopCollection ^ gradientStops, Microsoft::Maui::Graphics::Point startPoint, Microsoft::Maui::Graphics::Point endPoint);
public LinearGradientBrush (Microsoft.Maui.Controls.GradientStopCollection gradientStops, Microsoft.Maui.Graphics.Point startPoint, Microsoft.Maui.Graphics.Point endPoint);
new Microsoft.Maui.Controls.LinearGradientBrush : Microsoft.Maui.Controls.GradientStopCollection * Microsoft.Maui.Graphics.Point * Microsoft.Maui.Graphics.Point -> Microsoft.Maui.Controls.LinearGradientBrush
Public Sub New (gradientStops As GradientStopCollection, startPoint As Point, endPoint As Point)

Parameters

gradientStops
GradientStopCollection
startPoint
Point
endPoint
Point

Applies to