다음을 통해 공유


Rectangle.Round Method

Definition

Returns a new Rectangle whose values have been rounded to their nearest integral value.

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

Returns

A new Rectangle whose X, Y, Width, and Height have been rounded to their nearest integral values.

Remarks

The rounding is applied to each property independently.

Applies to