path_get_center_y(ind)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the y coordinate of the center point of the given path, the point around which the path is scaled, rotated, mirrored, and flipped, and returns the result.

Parameters

Parameter Data Type Description
ind unsigned index of the path

Return Values

double: Returns the y coordinate of the center of the path.

Example Call

// demonstrates getting the center point of a path
var pcx, pcy;
pcx = path_get_center_x(mypath);
pcy = path_get_center_y(mypath);