Xamarin.Forms.Rectangle.Round Method
Returns a new Xamarin.Forms.Rectangle whose values have been rounded to their nearest integral value.

Syntax

public Rectangle Round ()

Returns

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

Remarks

The rounding is applied to each property independently.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0