CoordinateXY: {
    x: number;
    y: number;
}

Interface for an ambiguous coordinate with X and Y properties. Ambiguous meaning that it doesn't explicitly tell which coordinate system it belongs to.

Intended to be used with translateCoordinate.

Type declaration

  • x: number
  • y: number