createLine

API:

PolygonApi

PolygonApi.createLine(point1, point2)
Arguments:
Return type:

PolygonHandle