Skip to main content

AccessibilityRegionByRectangle class

Platform: Xcui
Language: Objectivec


An object that stores information about an accesibility region.

Import statement

@import EyesXCUI

initWithLeft method

Syntax

Call syntax

AccessibilityRegionByRectangle* obj = [[AccessibilityRegionByRectangle alloc] initWithLeft  : left top: top width: width height: height region**Type:**  type   ];

Declaration

(instancetype)initWithLeft:(NSInteger)left
top:(NSInteger)top
width:(NSInteger)width
height:(NSInteger)height
region**Type:** (AccessibilityRegionType)type

Parameters

left

Type: NSInteger

The coordinate of the left edge of a rectangular area whose accessibility is being defined.

top

Type: NSInteger

The coordinate of the top edge of a rectangular area whose accessibility is being defined.

width

Type: NSInteger

The width of the rectangular area whose accessibility is being defined.

height

Type: NSInteger

The height of the rectangular area whose accessibility is being defined.

type

Type: AccessibilityRegionType

The type of accessibility region defined by the rectanglar area.

Return value

Type: AccessibilityRegionByRectangle*

Remarks

For more information about the Contrast advisor feature see Contrast advisor.

height property

Syntax

Call syntax

NSInteger value = obj.height

Declaration

 (readonly, assign, nonatomic) NSInteger height

Type: NSInteger

Remarks

For more information about the Contrast advisor feature see Contrast advisor.

left property

Syntax

Call syntax

NSInteger value = obj.left

Declaration

 (readonly, assign, nonatomic) NSInteger left

Type: NSInteger

Remarks

For more information about the Contrast advisor feature see Contrast advisor.

region property

Syntax

Call syntax

Region* value = obj.region

Declaration

 (readonly, nonatomic) Region *region

Type: Region*

Remarks

For more information about the Contrast advisor feature see Contrast advisor.

top property

Syntax

Call syntax

NSInteger value = obj.top

Declaration

 (readonly, assign, nonatomic) NSInteger top

Type: NSInteger

Remarks

For more information about the Contrast advisor feature see Contrast advisor.

type property

Syntax

Call syntax

AccessibilityRegionType value = obj.type

Declaration

 (readonly, assign, nonatomic) AccessibilityRegionType type

Type: AccessibilityRegionType

Remarks

For more information about the Contrast advisor feature see Contrast advisor.

width property

Syntax

Call syntax

NSInteger value = obj.width

Declaration

 (readonly, assign, nonatomic) NSInteger width

Type: NSInteger

Remarks

For more information about the Contrast advisor feature see Contrast advisor.