Condividi tramite


PatternExtensions.AsPaint Method

Definition

Overloads

AsPaint(IPattern)
AsPaint(IPattern, Color)

AsPaint(IPattern)

Source:
PatternExtensions.cs
Source:
PatternExtensions.cs
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

Parameters

target
IPattern

Returns

Applies to

AsPaint(IPattern, Color)

Source:
PatternExtensions.cs
Source:
PatternExtensions.cs
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

Parameters

target
IPattern
foregroundColor
Color

Returns

Applies to