getRectangleCorners

fun getRectangleCorners(endpoints: String, width: Double): String

Converts a rectangle with two points and a width to a polygon that contains the four corners of the rectangle

Parameters

endpoints

the two end points of the rectangle

width

the width of the rectangle