IXuniHitArea Protocol Reference

Declared in HitTester.h

Overview

protocol IXuniHitArea

  tag required method

Gets or sets the tag of area.

@property NSObject *tag

Discussion

Gets or sets the tag of area.

Declared In

HitTester.h

  startAngle required method

Gets or sets the startAngle of pie segment.

@property double startAngle

Discussion

Gets or sets the startAngle of pie segment.

Declared In

HitTester.h

  sweep required method

Gets or sets the sweep of pie segment.

@property double sweep

Discussion

Gets or sets the sweep of pie segment.

Declared In

HitTester.h

– contains: required method

Judge whether the point is in the area.

- (BOOL)contains:(XuniPoint *)point

Parameters

point

the point in control coordinates that this HitTestInfo refers to.

Return Value

return a boolean value.

Discussion

Judge whether the point is in the area.

Declared In

HitTester.h

– distance: required method

Calculate the distance.

- (double)distance:(XuniPoint *)point

Parameters

point

the point in control coordinates that this HitTestInfo refers to.

Return Value

return the distance.

Discussion

Calculate the distance.

Declared In

HitTester.h