Skip to content

getEndpoints()

Return the point's location.

point.getEndpoints()

A point has just the one corner, its own position.

Returns

return centerX, centerY

Value Type Description
centerX list[int or float] The horizontal position, in pixels, as a one-item list.
centerY list[int or float] The vertical position, in pixels, as a one-item list.