Skip to main content

DrawLineCorner

Callable

  • DrawLineCorner(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number, lineWidth?: number, color?: string): void

  • Draws two lines, from one point to a second point then to a third point


    Parameters

    • x0: number

      X co-ordinate of starting point

    • y0: number

      Y co-ordinate of starting point

    • x1: number

      X co-ordinate of mid point

    • y1: number

      Y co-ordinate of mid point

    • x2: number

      X co-ordinate of end point

    • y2: number

      Y co-ordinate of end point

    • lineWidth: number = 2

      The width of the lines

    • color: string = "black"

      The color of the lines

    Returns void

    • Nothing