Skip to main content

DrawLineCorner

Callable

  • DrawLineCorner(x0, y0, x1, y1, x2, y2, lineWidth, color): 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