Freigeben über


RectF.Round(Rect) Method

Definition

Set the dst integer Rect by rounding this rectangle's coordinates to their nearest integer values.

[Android.Runtime.Register("round", "(Landroid/graphics/Rect;)V", "GetRound_Landroid_graphics_Rect_Handler")]
public virtual void Round (Android.Graphics.Rect dst);
[<Android.Runtime.Register("round", "(Landroid/graphics/Rect;)V", "GetRound_Landroid_graphics_Rect_Handler")>]
abstract member Round : Android.Graphics.Rect -> unit
override this.Round : Android.Graphics.Rect -> unit

Parameters

dst
Rect
Attributes

Remarks

Set the dst integer Rect by rounding this rectangle's coordinates to their nearest integer values.

Java documentation for android.graphics.RectF.round(android.graphics.Rect).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to