* * @since 1.0.0 */ public function getCoordinates() : array; /** * Get the coordinate of the point * * @param int $index Index of the coordinate (e.g. 0 = x); * * @return int|float * * @since 1.0.0 */ public function getCoordinate(int $index) : int|float; /** * Set the coordinate of the point * * @param int $index Index of the coordinate (e.g. 0 = x); * @param mixed $value Value of the coordinate * * @return void * * @since 1.0.0 */ public function setCoordinate(int $index, $value) : void; }