HitInfo.Composite, HitInfo.EnvelopeStroke, HitInfo.HighlighterStroke, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke, HitInfo.Text
Constructor and Description |
---|
HitInfo.Point(Element clickedObject,
java.util.ArrayList pointIndices,
PEMouseEvent mouseEvent)
construct a new HitInfo.Point that occured on the given Element and on the given points simultaneously.
|
HitInfo.Point(Element clickedObject,
int pointIndex,
PEMouseEvent mouseEvent)
construct a new HitInfo.Point that occured on the given Element and on the given point index
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Return the point index on which the mouse hit occured.
|
int |
getIndex(int i)
Return the ith point index on which the mouse hit occured.
|
int |
getNbHitPoints()
Return the number of points that were hit simultaneously.
|
java.lang.String |
toString() |
getMouseEvent, getTarget
public HitInfo.Point(Element clickedObject, int pointIndex, PEMouseEvent mouseEvent)
public HitInfo.Point(Element clickedObject, java.util.ArrayList pointIndices, PEMouseEvent mouseEvent)
public int getIndex()
public int getIndex(int i)
getIndex()
.public int getNbHitPoints()
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug : syd@jpicedt.org