다음을 통해 공유


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

반환

적용 대상