共用方式為


Point.Explicit(Point to Size) Operator

Definition

public:
 static explicit operator Microsoft::Maui::Graphics::Size(Microsoft::Maui::Graphics::Point pt);
public static explicit operator Microsoft.Maui.Graphics.Size (Microsoft.Maui.Graphics.Point pt);
static member op_Explicit : Microsoft.Maui.Graphics.Point -> Microsoft.Maui.Graphics.Size
Public Shared Narrowing Operator CType (pt As Point) As Size

Parameters

pt
Point

Returns

Applies to