Freigeben über


Point.Subtraction(Point, Size) Operator

Definition

Returns a new Point by subtracting a Size from 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 from which sz is to be subtracted.

sz
Size

The Size whose Width and Height will be subtracted from pt's X and Y.

Returns

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

Applies to