PaintGradientStop Class
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.
Represents a color stop in a gradient paint.
public ref class PaintGradientStop : IComparable<Microsoft::Maui::Graphics::PaintGradientStop ^>
public class PaintGradientStop : IComparable<Microsoft.Maui.Graphics.PaintGradientStop>
type PaintGradientStop = class
interface IComparable<PaintGradientStop>
Public Class PaintGradientStop
Implements IComparable(Of PaintGradientStop)
- Inheritance
-
PaintGradientStop
- Implements
Constructors
PaintGradientStop(PaintGradientStop) |
Initializes a new instance of the PaintGradientStop class by copying another gradient stop. |
PaintGradientStop(Single, Color) |
Initializes a new instance of the PaintGradientStop class with the specified offset and color. |
Properties
Color |
Gets or sets the color at this gradient stop. |
Offset |
Gets or sets the position of this gradient stop along the gradient. |
Methods
CompareTo(PaintGradientStop) |
Compares the current gradient stop with another gradient stop based on their offset values. |