|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HitInfoFactory
A factory for creating hit information used by Graph2DView.
Method Summary | |
---|---|
HitInfo |
createHitInfo(double x,
double y,
int types,
boolean firstHitOnly)
Creates a hit information object for a given type of graph
elements at the specified location. |
Method Detail |
---|
HitInfo createHitInfo(double x, double y, int types, boolean firstHitOnly)
hit information object
for a given type of graph
elements at the specified location. A hit info provides information on the
graph elements at the given world coordinates.
x
- x world coordinatey
- y world coordinatetypes
- a bitwise combination of the type masks provided by Graph2DTraversal
or Graph2DTraversal.ALL
.firstHitOnly
- if true
only the hit info only considers the first graph
element at the specified coordinates
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |