iOS Guides | Samples

MonoTouch.UIKit.UIRegion Class

Defines the area over which a force field operates for dynamic UI.

See Also: UIRegion

Syntax

[MonoTouch.Foundation.Register("UIRegion", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UIRegion : NSObject, INSCoding, INSCopying, IDisposable

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIRegion are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Creates a rectangular region of the specified size.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Creates a circular region with the specified radius.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
InfiniteUIRegion. The region with no bounds.

Public Methods

Contains(PointF) : Boolean
true if the point is within, or on the border of, this UIRegion.
Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
Difference(UIRegion) : UIRegion
Returns the region defined by the difference between the specified region and this.
Intersect(UIRegion) : UIRegion
Returns a new UIRegion defined by the intersection of this and the specified region.
Inverse() : UIRegion
Returns a new UIRegion containing the area that is not within this.
Union(UIRegion) : UIRegion
Creates a new region defined as the union of this and the specified region.