Back to Website
Show / Hide Table of Contents

Class InteractiveZonesHandler

Package: @aurigma/design-atoms

Constructors

(constructor)(_styles, _eventManagerEvent)

Constructs a new instance of the InteractiveZonesHandler class

Declaration
constructor(_styles: IInteractiveZonesStyles, _eventManagerEvent: EventObject<IInteractiveZonesStateChangedEventArgs>);
Parameters
Type Name Description
IInteractiveZonesStyles _styles
EventObject<IInteractiveZonesStateChangedEventArgs> _eventManagerEvent

Properties

activeZone

Declaration
get activeZone(): InteractiveZone;

set activeZone(value: InteractiveZone);
Property Value
Type Description
InteractiveZone

currentSurface

Declaration
get currentSurface(): Surface;

set currentSurface(value: Surface);
Property Value
Type Description
Surface

highlightZone

Declaration
get highlightZone(): InteractiveZone;

set highlightZone(value: InteractiveZone);
Property Value
Type Description
InteractiveZone

interactiveZones

Declaration
get interactiveZones(): InteractiveZone[];
Property Value
Type Description
InteractiveZone[]

stateChangedEvent

Declaration
get stateChangedEvent(): EventObject<IInteractiveZonesStateChangedEventArgs>;
Property Value
Type Description
EventObject<IInteractiveZonesStateChangedEventArgs>

Methods

getSnapLines()

Declaration
getSnapLines(): RectangleF[];
Returns
Type Description
RectangleF[]

getZoneBounds(zone)

Declaration
getZoneBounds(zone: InteractiveZone): RectangleF;
Parameters
Type Name Description
InteractiveZone zone
Returns
Type Description
RectangleF

getZoneStyle(zone, isActive, isHover)

Declaration
getZoneStyle(zone: InteractiveZone, isActive: boolean, isHover: boolean): IInteractiveZoneStateStyle;
Parameters
Type Name Description
InteractiveZone zone
boolean isActive
boolean isHover
Returns
Type Description
IInteractiveZoneStateStyle

isReady()

Declaration
isReady(): boolean;
Returns
Type Description
boolean

propertyOf(name)

Declaration
propertyOf<TObj>(name: keyof TObj): keyof TObj;
Parameters
Type Name Description
keyof TObj name
Returns
Type Description
keyof TObj
Type Parameters
Name Description
TObj

setInputManager(inputManager)

Declaration
setInputManager(inputManager: IInputManager): void;
Parameters
Type Name Description
IInputManager inputManager
Returns
Type Description
void

setOffset(offset)

Declaration
setOffset(offset: PointF): void;
Parameters
Type Name Description
PointF offset
Returns
Type Description
void

setSelectionHandler(selection)

Declaration
setSelectionHandler(selection: ISelectionHandler): void;
Parameters
Type Name Description
ISelectionHandler selection
Returns
Type Description
void

setStyles(styles)

Declaration
setStyles(styles: IInteractiveZonesStyles): void;
Parameters
Type Name Description
IInteractiveZonesStyles styles
Returns
Type Description
void

setTextWhizz(textWhizz)

Declaration
setTextWhizz(textWhizz: typeof TextWhizz): void;
Parameters
Type Name Description
typeof TextWhizz textWhizz
Returns
Type Description
void
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback