vertices

The anchor points of the shape. Specify each point as an array of two floating-point values, and collect the point pairs into an array for the complete set

calculateTransformFromPoints()

Calculates a transformation from a set of points in this layer.pointTopLeft The top left point coordinates in the form of an array, [x, y, z].pointTopRight