Share via


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
System.Double

The amount to add along the X axis.

dy
System.Double

The amount to add along the Y axis.

Returns

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

Applies to