共用方式為


GradientPaint.SetGradientStops(Single[], Color[]) Method

Definition

public:
 void SetGradientStops(cli::array <float> ^ offsets, cli::array <Microsoft::Maui::Graphics::Color ^> ^ colors);
public void SetGradientStops (float[] offsets, Microsoft.Maui.Graphics.Color[] colors);
member this.SetGradientStops : single[] * Microsoft.Maui.Graphics.Color[] -> unit
Public Sub SetGradientStops (offsets As Single(), colors As Color())

Parameters

offsets
Single[]
colors
Color[]

Applies to