PatternExtensions.AsPaint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI