Language

RegionIterator.Next(Rect) Method

Definition

Return the next rectangle in the region.

[Android.Runtime.Register("next", "(Landroid/graphics/Rect;)Z", "")]
public bool Next(Android.Graphics.Rect? r);
[<Android.Runtime.Register("next", "(Landroid/graphics/Rect;)Z", "")>]
member this.Next : Android.Graphics.Rect -> bool

Parameters

r
Rect

An existing rectangle that receives the next region rectangle.

Returns

true if r receives the next rectangle; false when iteration is complete, leaving r unchanged.

Attributes

Remarks

Return the next rectangle in the region. If there are no more rectangles this returns false and r is unchanged. If there is at least one more, this returns true and r is set to that rectangle.

Java documentation for android.graphics.RegionIterator.next(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