createLine

API:

PolygonApi

PolygonApi.createLine(point1, point2)
Arguments:
  • point1 (Point-like Object)

  • point2 (Point-like Object)

Return type:

PolygonHandle