Point.Offset(Double, Double) Method

Definition

Returns a new Point that translates the current Point by dx and dy.

public Xamarin.Forms.Point Offset (double dx, double dy);
member this.Offset : double * double -> Xamarin.Forms.Point

Parameters

dx
Double

The amount to add along the X axis.

dy
Double

The amount to add along the Y axis.

Returns

A new Point at [this.X + dx, this.Y + dy].

Applies to