共用方式為


Color.Implicit(Vector4 to Color) Operator

Definition

public:
 static operator Microsoft::Maui::Graphics::Color ^(System::Numerics::Vector4 color);
public static implicit operator Microsoft.Maui.Graphics.Color (System.Numerics.Vector4 color);
static member op_Implicit : System.Numerics.Vector4 -> Microsoft.Maui.Graphics.Color
Public Shared Widening Operator CType (color As Vector4) As Color

Parameters

color
Vector4

Returns

Applies to