Point.Round 方法

定义

返回一个新的 Point,其 XY 已舍入最接近的整数值。

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

返回

一个新的 Point,其 XY 已舍入最接近的整数值(根据 Math.Round(Double) 的行为)。

适用于