Class InteractiveZonesHandler
Constructors
(constructor)(_styles, _eventManagerEvent)
Constructs a new instance of the InteractiveZonesHandler class
Declaration
constructor(_styles: IInteractiveZonesStyles, _eventManagerEvent: EventObject<IInteractiveZonesStateChangedEventArgs>);
Parameters
Properties
activeZone
Declaration
get activeZone(): InteractiveZone;
set activeZone(value: InteractiveZone);
Property Value
currentSurface
Declaration
get currentSurface(): Surface;
set currentSurface(value: Surface);
Property Value
highlightZone
Declaration
get highlightZone(): InteractiveZone;
set highlightZone(value: InteractiveZone);
Property Value
interactiveZones
Declaration
get interactiveZones(): InteractiveZone[];
Property Value
stateChangedEvent
Declaration
get stateChangedEvent(): EventObject<IInteractiveZonesStateChangedEventArgs>;
Property Value
Methods
getSnapLines()
Declaration
getSnapLines(): RectangleF[];
Returns
getZoneBounds(zone)
Declaration
getZoneBounds(zone: InteractiveZone): RectangleF;
Parameters
Returns
getZoneStyle(zone, isActive, isHover)
Declaration
getZoneStyle(zone: InteractiveZone, isActive: boolean, isHover: boolean): IInteractiveZoneStateStyle;
Parameters
| Type |
Name |
Description |
| InteractiveZone |
zone |
|
| boolean |
isActive |
|
| boolean |
isHover |
|
Returns
isReady()
Declaration
Returns
propertyOf(name)
Declaration
propertyOf<TObj>(name: keyof TObj): keyof TObj;
Parameters
| Type |
Name |
Description |
| keyof TObj |
name |
|
Returns
| Type |
Description |
| keyof TObj |
|
Type Parameters
Declaration
setInputManager(inputManager: IInputManager): void;
Parameters
| Type |
Name |
Description |
| IInputManager |
inputManager |
|
Returns
setOffset(offset)
Declaration
setOffset(offset: PointF): void;
Parameters
| Type |
Name |
Description |
| PointF |
offset |
|
Returns
setSelectionHandler(selection)
Declaration
setSelectionHandler(selection: ISelectionHandler): void;
Parameters
Returns
setStyles(styles)
Declaration
setStyles(styles: IInteractiveZonesStyles): void;
Parameters
Returns
setTextWhizz(textWhizz)
Declaration
setTextWhizz(textWhizz: typeof TextWhizz): void;
Parameters
| Type |
Name |
Description |
| typeof TextWhizz |
textWhizz |
|
Returns