次の方法で共有


PatternExtensions.AsPaint メソッド

定義

オーバーロード

AsPaint(IPattern)
AsPaint(IPattern, Color)

AsPaint(IPattern)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Graphics::Paint ^ AsPaint(Microsoft::Maui::Graphics::IPattern ^ target);
public static Microsoft.Maui.Graphics.Paint AsPaint (this Microsoft.Maui.Graphics.IPattern target);
static member AsPaint : Microsoft.Maui.Graphics.IPattern -> Microsoft.Maui.Graphics.Paint
<Extension()>
Public Function AsPaint (target As IPattern) As Paint

パラメーター

target
IPattern

戻り値

適用対象

AsPaint(IPattern, Color)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Graphics::Paint ^ AsPaint(Microsoft::Maui::Graphics::IPattern ^ target, Microsoft::Maui::Graphics::Color ^ foregroundColor);
public static Microsoft.Maui.Graphics.Paint AsPaint (this Microsoft.Maui.Graphics.IPattern target, Microsoft.Maui.Graphics.Color foregroundColor);
static member AsPaint : Microsoft.Maui.Graphics.IPattern * Microsoft.Maui.Graphics.Color -> Microsoft.Maui.Graphics.Paint
<Extension()>
Public Function AsPaint (target As IPattern, foregroundColor As Color) As Paint

パラメーター

target
IPattern
foregroundColor
Color

戻り値

適用対象