共用方式為


Point.Round Method

Definition

Returns a new Point whose X and Y have been rounded to the nearest integral value.

public Xamarin.Forms.Point Round ();
member this.Round : unit -> Xamarin.Forms.Point

Returns

A new Point whose X and Y have been rounded to the nearest integral value, per the behavior of Math.Round(Double).

Applies to