共用方式為


PaintGradientStop Constructors

Definition

Overloads

PaintGradientStop(PaintGradientStop)
PaintGradientStop(Single, Color)

PaintGradientStop(PaintGradientStop)

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

Parameters

Applies to

PaintGradientStop(Single, Color)

Source:
PaintGradientStop.cs
Source:
PaintGradientStop.cs
public:
 PaintGradientStop(float offset, Microsoft::Maui::Graphics::Color ^ color);
public PaintGradientStop (float offset, Microsoft.Maui.Graphics.Color color);
new Microsoft.Maui.Graphics.PaintGradientStop : single * Microsoft.Maui.Graphics.Color -> Microsoft.Maui.Graphics.PaintGradientStop
Public Sub New (offset As Single, color As Color)

Parameters

offset
Single
color
Color

Applies to