Bendpoint move/create feedback [message #45329] |
Mon, 25 November 2002 10:26 |
Eclipse User |
|
|
|
Hi
i was looking for a way to do the following: when the user moves/creates a
bendpoint, and the created/moved bendpoint is going to be located on the
same height or width as the adjecent bendpoint, the CROSS cursor would
change, and one of its arms (the one pointing to the appropriate
bendpoing) would change its color. i tried to do so in the methods
showCreateBendpointFeedback and showMoveBendpointFeedback, but i got a
problem understanding where will the bendpoint be located. From the
request i get a specific location, and from the connection.getPoints() i
get a set of point, non of which is in the exact location as the request.
i am trying to understand to which of these locations should i treat as
the bendpoint's location, and if i am suppose to use the points from
connection.getPoints(), how will i be sure that i picked the right point.
Thanks
yoav
|
|
|
Powered by
FUDForum. Page generated in 0.04896 seconds