PolygonShape:getPoints
Get the local coordinates of the polygon's vertices.

This function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon.
x1, y1, x2, y2 = PolygonShape:getPoints()
x1 number The x-component of the first vertex.
y1 number The y-component of the first vertex.
x2 number The x-component of the second vertex.
y2 number The y-component of the second vertex.