Back to Website
Show / Hide Table of Contents

Class DragNDropHandler

Package: @aurigma/design-atoms

Constructors

(constructor)(_canvas, _viewer, _hitTestManager)

Constructs a new instance of the DragNDropHandler class

Declaration
constructor(_canvas: Canvas, _viewer: Viewer, _hitTestManager: HitTestManager);
Parameters
Type Name Description
Canvas _canvas
Viewer _viewer
HitTestManager _hitTestManager

Methods

draw()

Declaration
draw(): void;
Returns
Type Description
void

hitTest(point)

Declaration
hitTest(point: PointF): PlaceholderItemHandler;
Parameters
Type Name Description
PointF point
Returns
Type Description
PlaceholderItemHandler

isDragOver(vo)

Declaration
isDragOver(vo?: any): boolean;
Parameters
Type Name Description
any vo
Returns
Type Description
boolean

isDragSource(vo)

Declaration
isDragSource(vo: any): boolean;
Parameters
Type Name Description
any vo
Returns
Type Description
boolean

isDragStarted()

Declaration
isDragStarted(): boolean;
Returns
Type Description
boolean

isDragTarget(vo)

Declaration
isDragTarget(vo: any): boolean;
Parameters
Type Name Description
any vo
Returns
Type Description
boolean

isOutOfCanvas()

Declaration
isOutOfCanvas(): boolean;
Returns
Type Description
boolean

processMove(e)

Declaration
processMove(e: IMovePointerParams): void;
Parameters
Type Name Description
IMovePointerParams e
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