Methods Summary |
---|
protected void | finalize()
nativeDestructor(mNativeIter);
|
private static native int | nativeConstructor(int native_region)
|
private static native void | nativeDestructor(int native_iter)
|
private static native boolean | nativeNext(int native_iter, Rect r)
|
public final boolean | next(Rect r)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.
if (r == null) {
throw new NullPointerException("The Rect must be provided");
}
return nativeNext(mNativeIter, r);
|