GradientStop 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
| Name | Description |
|---|---|
| GradientStop() |
Initializes a new instance of the GradientStop class. |
| GradientStop(Color, Single) |
Initializes a new instance of the GradientStop class with the specified color and offset. |
GradientStop()
- Source:
- GradientStop.cs
- Source:
- GradientStop.cs
- Source:
- GradientStop.cs
- Source:
- GradientStop.cs
Initializes a new instance of the GradientStop class.
public:
GradientStop();
public GradientStop();
Public Sub New ()
Applies to
GradientStop(Color, Single)
- Source:
- GradientStop.cs
- Source:
- GradientStop.cs
- Source:
- GradientStop.cs
- Source:
- GradientStop.cs
Initializes a new instance of the GradientStop class with the specified color and offset.
public:
GradientStop(Microsoft::Maui::Graphics::Color ^ color, float offset);
public GradientStop(Microsoft.Maui.Graphics.Color color, float offset);
new Microsoft.Maui.Controls.GradientStop : Microsoft.Maui.Graphics.Color * single -> Microsoft.Maui.Controls.GradientStop
Public Sub New (color As Color, offset As Single)
Parameters
- color
- Color
The color of this gradient stop.
- offset
- Single
The position of this gradient stop (0.0 to 1.0).