B2d_shape_get_edge_point_y - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Gets the y coordinate of the nth point of the nth edge of a given shape. Note: This function is only applicate for chain or loop shapes.
Parameter | Description |
---|---|
id | index of the shape |
en | nth> edge of the shape |
pn | nth point of the edge to get the y coordinate of |
double: Returns the y coordinate of the nth point of the nth edge of the given shape.
// demonstrates getting the y coordinate of the second point of the third edge of a shape
py = b2d_shape_get_edge_point_y(myshape, 2, 1);
NOTOC