translateToCenterPoint method

Point translateToCenterPoint(
  1. Point point,
  2. String originX,
  3. String originY
)

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);