translateToCenterPoint method
functions from object origin mixin
Translates the coordinates from origin to center coordinates (based on the object's dimensions)
Implementation
external Point translateToCenterPoint(
Point point, String originX, String originY);