GradientPaint Class

Definition

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
GradientPaint
Derived

Constructors

GradientPaint()
GradientPaint(GradientPaint)

Properties

BackgroundColor (Inherited from Paint)
EndColor
EndColorIndex
ForegroundColor (Inherited from Paint)
GradientStops
IsTransparent
StartColor
StartColorIndex

Methods

AddOffset(Single, Color)
AddOffset(Single)
BlendStartAndEndColors()
BlendStartAndEndColors(Color, Color, Single)
GetColorAt(Single)
GetSortedStops()
RemoveOffset(Int32)
SetGradientStops(Single[], Color[])
ToString()

Extension Methods

IsNullOrEmpty(Paint)
ToColor(Paint)

Applies to