|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjpicedt.graphic.view.HitInfo
jpicedt.graphic.view.HitInfo.Stroke
public static class HitInfo.Stroke
Represent a Hit that occured on an Element. It includes information as of which stroke segment was hit (this may be used by the UI to know where to add new points).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jpicedt.graphic.view.HitInfo |
|---|
HitInfo.Composite, HitInfo.EnvelopeStroke, HitInfo.HighlighterStroke, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke, HitInfo.Text |
| Constructor Summary | |
|---|---|
HitInfo.Stroke(Element clicked,
int clickedSegment,
PEMouseEvent mouseEvent)
construct a new HitInfo.Stroke that occured on the stroke of the given Element |
|
| Method Summary | |
|---|---|
int |
getClickedSegment()
|
java.lang.String |
toString()
|
| Methods inherited from class jpicedt.graphic.view.HitInfo |
|---|
getMouseEvent, getTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HitInfo.Stroke(Element clicked,
int clickedSegment,
PEMouseEvent mouseEvent)
clickedPoint - the index (starting from 0) of the segment of the flattened path
on which the hit occured.| Method Detail |
|---|
public int getClickedSegment()
public java.lang.String toString()
toString in class java.lang.Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||