Overrides TPoint setXY method to move both tip and tail. @param x the x position @param y the y position
(double x, double y)
| 153 | * @param y the y position |
| 154 | */ |
| 155 | @Override |
| 156 | public void setXY(double x, double y) { |
| 157 | double dx = x-getX(); |
| 158 | double dy = y-getY(); |
| 159 | tip.translate(dx, dy); |
| 160 | tail.translate(dx, dy); |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * Enables and disables the interactivity of the tip. |