次の方法で共有


Point.Explicit(Point to Size) Operator

Definition

Returns a new Size whose Width and Height and equivalent to the pt's X and Y properties.

public static explicit operator Xamarin.Forms.Size (Xamarin.Forms.Point pt);
static member op_Explicit : Xamarin.Forms.Point -> Xamarin.Forms.Size

Parameters

pt
Point

The Point to be translated as a Size.

Returns

A new Size based on the pt.

Applies to