Skip to main content

DragNDropHandler

Classes

DragNDropHandler

Constructors

Constructor
new DragNDropHandler(
canvas,
viewer,
hitTestManager): DragNDropHandler;
Parameters
ParameterType
canvasCanvas
viewerViewer
hitTestManagerHitTestManager
Returns

DragNDropHandler

Methods

draw()
draw(): void;
Returns

void

hitTest()
hitTest(point): PlaceholderItemHandler;
Parameters
ParameterType
pointPointF
Returns

PlaceholderItemHandler

isDragOver()
isDragOver(vo?): boolean;
Parameters
ParameterTypeDefault value
voanynull
Returns

boolean

isDragSource()
isDragSource(vo): boolean;
Parameters
ParameterType
voany
Returns

boolean

isDragStarted()
isDragStarted(): boolean;
Returns

boolean

isDragTarget()
isDragTarget(vo): boolean;
Parameters
ParameterType
voany
Returns

boolean

isOutOfCanvas()
isOutOfCanvas(): boolean;
Returns

boolean

processMove()
processMove(e): void;
Parameters
ParameterType
eIMovePointerParams
Returns

void

Was this page helpful?