다음을 통해 공유


CanvasExtensions.SetFillPattern 메서드

정의

오버로드

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

SetFillPattern(ICanvas, IPattern)

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)

매개 변수

target
ICanvas
pattern
IPattern

적용 대상

SetFillPattern(ICanvas, IPattern, Color)

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)

매개 변수

target
ICanvas
pattern
IPattern
foregroundColor
Color

적용 대상