共用方式為


LinearGradientPaint Constructors

Definition

Overloads

LinearGradientPaint()
LinearGradientPaint(GradientPaint)
LinearGradientPaint(PaintGradientStop[])
LinearGradientPaint(Point, Point)
LinearGradientPaint(PaintGradientStop[], Point, Point)

LinearGradientPaint()

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

Applies to

LinearGradientPaint(GradientPaint)

Source:
LinearGradientPaint.cs
Source:
LinearGradientPaint.cs
public:
 LinearGradientPaint(Microsoft::Maui::Graphics::GradientPaint ^ gradientPaint);
public LinearGradientPaint (Microsoft.Maui.Graphics.GradientPaint gradientPaint);
new Microsoft.Maui.Graphics.LinearGradientPaint : Microsoft.Maui.Graphics.GradientPaint -> Microsoft.Maui.Graphics.LinearGradientPaint
Public Sub New (gradientPaint As GradientPaint)

Parameters

gradientPaint
GradientPaint

Applies to

LinearGradientPaint(PaintGradientStop[])

Source:
LinearGradientPaint.cs
Source:
LinearGradientPaint.cs
public:
 LinearGradientPaint(cli::array <Microsoft::Maui::Graphics::PaintGradientStop ^> ^ gradientStops);
public LinearGradientPaint (Microsoft.Maui.Graphics.PaintGradientStop[] gradientStops);
new Microsoft.Maui.Graphics.LinearGradientPaint : Microsoft.Maui.Graphics.PaintGradientStop[] -> Microsoft.Maui.Graphics.LinearGradientPaint
Public Sub New (gradientStops As PaintGradientStop())

Parameters

gradientStops
PaintGradientStop[]

Applies to

LinearGradientPaint(Point, Point)

Source:
LinearGradientPaint.cs
Source:
LinearGradientPaint.cs
public:
 LinearGradientPaint(Microsoft::Maui::Graphics::Point startPoint, Microsoft::Maui::Graphics::Point endPoint);
public LinearGradientPaint (Microsoft.Maui.Graphics.Point startPoint, Microsoft.Maui.Graphics.Point endPoint);
new Microsoft.Maui.Graphics.LinearGradientPaint : Microsoft.Maui.Graphics.Point * Microsoft.Maui.Graphics.Point -> Microsoft.Maui.Graphics.LinearGradientPaint
Public Sub New (startPoint As Point, endPoint As Point)

Parameters

startPoint
Point
endPoint
Point

Applies to

LinearGradientPaint(PaintGradientStop[], Point, Point)

Source:
LinearGradientPaint.cs
Source:
LinearGradientPaint.cs
public:
 LinearGradientPaint(cli::array <Microsoft::Maui::Graphics::PaintGradientStop ^> ^ gradientStops, Microsoft::Maui::Graphics::Point startPoint, Microsoft::Maui::Graphics::Point endPoint);
public LinearGradientPaint (Microsoft.Maui.Graphics.PaintGradientStop[] gradientStops, Microsoft.Maui.Graphics.Point startPoint, Microsoft.Maui.Graphics.Point endPoint);
new Microsoft.Maui.Graphics.LinearGradientPaint : Microsoft.Maui.Graphics.PaintGradientStop[] * Microsoft.Maui.Graphics.Point * Microsoft.Maui.Graphics.Point -> Microsoft.Maui.Graphics.LinearGradientPaint
Public Sub New (gradientStops As PaintGradientStop(), startPoint As Point, endPoint As Point)

Parameters

gradientStops
PaintGradientStop[]
startPoint
Point
endPoint
Point

Applies to