Android.Graphics.Region Members

The members of Android.Graphics.Region are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create an empty region
Return a region set to the specified rectangle
Return a copy of the specified region
Return a region set to the specified rectangle

Protected Constructors

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

Public Properties

[read-only]
BoundaryPathPath. Return the boundary of the region as a new Path.
[read-only]
BoundsRect. Return a new Rect set to the bounds of the region.
[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
[read-only]
IsComplexbool. Return true if the region contains more than one rectangle
[read-only]
IsEmptybool. Return true if this region is empty
[read-only]
IsRectbool. Return true if the region contains a single rectangle

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Contains(int, int) : bool
Return true if the region contains the specified point
DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
GetBoundaryPath(Path) : bool
Set the path to the boundary of the region.
GetBounds(Rect) : bool
Set the Rect to the bounds of the region.
InvokeOp(Rect, Region.Op) : bool
Perform the specified Op on this region and the specified rect.
InvokeOp(Region, Region.Op) : bool
Perform the specified Op on this region and the specified region.
InvokeOp(Rect, Region, Region.Op) : bool
Set this region to the result of performing the Op on the specified rect and region.
InvokeOp(Region, Region, Region.Op) : bool
Set this region to the result of performing the Op on the specified regions.
InvokeOp(int, int, int, int, Region.Op) : bool
Perform the specified Op on this region and the specified rect.
QuickContains(Rect) : bool
Return true if the region is a single rectangle (not complex) and it contains the specified rectangle.
QuickContains(int, int, int, int) : bool
Return true if the region is a single rectangle (not complex) and it contains the specified rectangle.
QuickReject(Rect) : bool
Return true if the region is empty, or if the specified rectangle does not intersect the region.
QuickReject(Region) : bool
Return true if the region is empty, or if the specified region does not intersect the region.
QuickReject(int, int, int, int) : bool
Return true if the region is empty, or if the specified rectangle does not intersect the region.
Set(Rect) : bool
Set the region to the specified rectangle
Set(Region) : bool
Set the region to the specified region.
Set(int, int, int, int) : bool
Set the region to the specified rectangle
SetEmpty()
Set the region to the empty region
SetPath(Path, Region) : bool
Set the region to the area described by the path and clip.
Translate(int, int)
Translate the region by [dx, dy].
Translate(int, int, Region)
Set the dst region to the result of translating this region by [dx, dy].
Union(Rect) : bool
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Write the region and its pixels to the parcel.