Polygon

Hierarchy

  • Polygon

Index

Methods

Static Circle

  • Circle(radius: number, cx?: number, cy?: number, numberOfSides?: number): Vector2[]
  • Parameters

    • radius: number
    • Optional cx: number
    • Optional cy: number
    • Optional numberOfSides: number

    Returns Vector2[]

Static Parse

  • Parameters

    • input: string

    Returns Vector2[]

Static Rectangle

  • Rectangle(xmin: number, ymin: number, xmax: number, ymax: number): Vector2[]
  • Parameters

    • xmin: number
    • ymin: number
    • xmax: number
    • ymax: number

    Returns Vector2[]

Static StartingAt

  • StartingAt(x: number, y: number): Path2
  • Parameters

    • x: number
    • y: number

    Returns Path2

Generated using TypeDoc