CanvasExtensions.SetFillPattern 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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