共用方式為


RectF.RoundOut(Rect) Method

Definition

Set the dst integer Rect by rounding "out" this rectangle, choosing the floor of top and left, and the ceiling of right and bottom.

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

Parameters

dst
Rect
Attributes

Remarks

Set the dst integer Rect by rounding "out" this rectangle, choosing the floor of top and left, and the ceiling of right and bottom.

Java documentation for android.graphics.RectF.roundOut(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