The setOffset method of the DragProxy Class contains the following signatures:
setOffset(Point offset)
setOffset(int xOffset, int yOffset)
Sets the x offset and y offset of the DragProxy object based on a specified Point object.
public void setOffset(Point offset);
offset | The Point object that represents an x offset and y offset. |
Sets the x offset and y offset of the DragProxy object.
public void setOffset(int xOffset, int yOffset);
xOffset | The new value for the x offset. |
yOffset | The new value for the y offset. |