private void translateImage(int dX, int dY) {

		if (!isImageTranslationEnabled()) {
			return;
		}

		if (dX == 0 && dY == 0) {
			return;
		}

		Point oldTranslation = label.getTranslation();

		label.translate(dX, dY);

		Point newTranslation = label.getTranslation();

		firePropertyChange(TRANSLATION_PROPERTY, oldTranslation, newTranslation);

	}
Get the X-Y distance the image has moved
@return the X-Y distances the image has moved
Ghidra/Framework/Docking/src/main/java/docking/widgets/imagepanel/ImagePanel.java