共用方式為


GradientPaint 類別

定義

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
繼承
GradientPaint
衍生

建構函式

GradientPaint()
GradientPaint(GradientPaint)

屬性

BackgroundColor (繼承來源 Paint)
EndColor
EndColorIndex
ForegroundColor (繼承來源 Paint)
GradientStops
IsTransparent
StartColor
StartColorIndex

方法

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

擴充方法

IsNullOrEmpty(Paint)
ToColor(Paint)

適用於