Udostępnij za pośrednictwem


Brush.Implicit Operator

Definition

Overloads

Implicit(Brush to Paint)
Implicit(Color to Brush)
Implicit(Paint to Brush)

Implicit(Brush to Paint)

Source:
Brush.cs
Source:
Brush.cs
public:
 static operator Microsoft::Maui::Graphics::Paint ^(Microsoft::Maui::Controls::Brush ^ brush);
public static implicit operator Microsoft.Maui.Graphics.Paint (Microsoft.Maui.Controls.Brush brush);
static member op_Implicit : Microsoft.Maui.Controls.Brush -> Microsoft.Maui.Graphics.Paint
Public Shared Widening Operator CType (brush As Brush) As Paint

Parameters

brush
Brush

Returns

Applies to

Implicit(Color to Brush)

Source:
Brush.cs
Source:
Brush.cs
public:
 static operator Microsoft::Maui::Controls::Brush ^(Microsoft::Maui::Graphics::Color ^ color);
public static implicit operator Microsoft.Maui.Controls.Brush (Microsoft.Maui.Graphics.Color color);
static member op_Implicit : Microsoft.Maui.Graphics.Color -> Microsoft.Maui.Controls.Brush
Public Shared Widening Operator CType (color As Color) As Brush

Parameters

color
Color

Returns

Applies to

Implicit(Paint to Brush)

Source:
Brush.cs
Source:
Brush.cs
public:
 static operator Microsoft::Maui::Controls::Brush ^(Microsoft::Maui::Graphics::Paint ^ paint);
public static implicit operator Microsoft.Maui.Controls.Brush (Microsoft.Maui.Graphics.Paint paint);
static member op_Implicit : Microsoft.Maui.Graphics.Paint -> Microsoft.Maui.Controls.Brush
Public Shared Widening Operator CType (paint As Paint) As Brush

Parameters

paint
Paint

Returns

Applies to