Sdílet prostřednictvím


Point.Addition(Point, Size) Operator

Definition

Returns a new Point by adding a Size to a Point.

public static Xamarin.Forms.Point operator + (Xamarin.Forms.Point pt, Xamarin.Forms.Size sz);
static member ( + ) : Xamarin.Forms.Point * Xamarin.Forms.Size -> Xamarin.Forms.Point

Parameters

pt
Point

The Point to which sz is being added.

sz
Size

The values to add to pt.

Returns

A new Point at [pt.X + sz.Width, pt.Y + sz.Height].

Applies to