Shortcut method to create new polygon

  • Parameters

    • Rest...args:
          | []
          | [Point[]]
          | [[number, number][]]
          | [(Segment | Arc)[]]
          | [Box | Circle]

    Returns Polygon