共用方式為


GradientPaint.AddOffset Method

Definition

Overloads

AddOffset(Single)
AddOffset(Single, Color)

AddOffset(Single)

Source:
GradientPaint.cs
Source:
GradientPaint.cs
public:
 void AddOffset(float offset);
public void AddOffset (float offset);
member this.AddOffset : single -> unit
Public Sub AddOffset (offset As Single)

Parameters

offset
Single

Applies to

AddOffset(Single, Color)

Source:
GradientPaint.cs
Source:
GradientPaint.cs
public:
 void AddOffset(float offset, Microsoft::Maui::Graphics::Color ^ color);
public void AddOffset (float offset, Microsoft.Maui.Graphics.Color color);
member this.AddOffset : single * Microsoft.Maui.Graphics.Color -> unit
Public Sub AddOffset (offset As Single, color As Color)

Parameters

offset
Single
color
Color

Applies to