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