GradientPaint 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 an abstract base class for gradient paints that transition between multiple colors.
public ref class GradientPaint abstract : Microsoft::Maui::Graphics::Paint
public abstract class GradientPaint : Microsoft.Maui.Graphics.Paint
type GradientPaint = class
inherit Paint
Public MustInherit Class GradientPaint
Inherits Paint
- Inheritance
- Derived
Constructors
GradientPaint() |
Initializes a new instance of the GradientPaint class with default white-to-white gradient stops. |
GradientPaint(GradientPaint) |
Initializes a new instance of the GradientPaint class by copying from another gradient paint. |
Properties
BackgroundColor |
Gets or sets the background color of the paint. (Inherited from Paint) |
EndColor | |
EndColorIndex | |
ForegroundColor |
Gets or sets the foreground color of the paint. (Inherited from Paint) |
GradientStops | |
IsTransparent | |
StartColor | |
StartColorIndex |
Methods
Extension Methods
IsNullOrEmpty(Paint) | |
ToColor(Paint) |