private static int getCenterY(Icon icon, int baseIconSize) {
		return (baseIconSize / 2) - (icon.getIconHeight() / 2);
	}
Constructor

@param icon the icon to center
@param centerOverSize the size of the area over which this icon is be centered.  
       <p>
       Note:  this constructor assumes the area is a square. If not, add another
       constructor to this class that takes a width and height for the area
Ghidra/Framework/Gui/src/main/java/resources/icons/CenterTranslateIcon.java