Partager via


PaintExtensions.ToColor(Paint) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Graphics::Color ^ ToColor(Microsoft::Maui::Graphics::Paint ^ paint);
public static Microsoft.Maui.Graphics.Color? ToColor (this Microsoft.Maui.Graphics.Paint? paint);
static member ToColor : Microsoft.Maui.Graphics.Paint -> Microsoft.Maui.Graphics.Color
<Extension()>
Public Function ToColor (paint As Paint) As Color

Parameters

paint
Paint

Returns

Applies to