Partager via


RegionIterator Constructors

Definition

Overloads

RegionIterator(Region)

Construct an iterator for all of the rectangles in a region.

RegionIterator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

RegionIterator(Region)

Construct an iterator for all of the rectangles in a region.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Region;)V", "")]
public RegionIterator (Android.Graphics.Region? region);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Region;)V", "")>]
new Android.Graphics.RegionIterator : Android.Graphics.Region -> Android.Graphics.RegionIterator

Parameters

region
Region

the region that will be iterated

Attributes

Remarks

Construct an iterator for all of the rectangles in a region. This effectively makes a private copy of the region, so any subsequent edits to region will not affect the iterator.

Java documentation for android.graphics.RegionIterator.RegionIterator(android.graphics.Region).

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

RegionIterator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected RegionIterator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.RegionIterator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.RegionIterator

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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