Modifier and Type | Method | Description |
---|---|---|
void |
dragX(double xDiff) |
If this method is called, the shape will be dragged xDiff pixels in x direction.
|
void |
dragY(double yDiff) |
If this method is called, the shape will be dragged yDiff pixels in y direction.
|
void dragX(double xDiff)
xDiff
- the difference of the drag in x direction.void dragY(double yDiff)
yDiff
- the difference of the drag in y direction.