region method

Class: RegionPlatform: XCUILanguage: Objective-C SDK:

A constructor to an object describes a rectangular region at a particular coordinate.

Syntax

Call syntax

BOOL obj = [[Region alloc] region  : region isIntersectedWithRegion: anotherRegion   ];

Declaration

(BOOL)region:(Region *)region isIntersectedWithRegion:(Region *)anotherRegion

Parameters

region
Type:Region*
The object provided as a parameter specifies both the top-left of the new region and its dimensions.
anotherRegion
Type:Region*
Another Region object to clone.

Return value

Type: BOOL