共用方式為


CanvasExtensions.SetFillPattern Method

Definition

Overloads

SetFillPattern(ICanvas, IPattern)
SetFillPattern(ICanvas, IPattern, Color)

SetFillPattern(ICanvas, IPattern)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void SetFillPattern(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::IPattern ^ pattern);
public static void SetFillPattern (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.IPattern pattern);
static member SetFillPattern : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.IPattern -> unit
<Extension()>
Public Sub SetFillPattern (target As ICanvas, pattern As IPattern)

Parameters

target
ICanvas
pattern
IPattern

Applies to

SetFillPattern(ICanvas, IPattern, Color)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void SetFillPattern(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::IPattern ^ pattern, Microsoft::Maui::Graphics::Color ^ foregroundColor);
public static void SetFillPattern (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.IPattern pattern, Microsoft.Maui.Graphics.Color foregroundColor);
static member SetFillPattern : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.IPattern * Microsoft.Maui.Graphics.Color -> unit
<Extension()>
Public Sub SetFillPattern (target As ICanvas, pattern As IPattern, foregroundColor As Color)

Parameters

target
ICanvas
pattern
IPattern
foregroundColor
Color

Applies to