Returns the intersection of two lines as an Point.

  • Parameters

    • x0: number

      X-coordinate of the first line's startpoint.

    • y0: number

      X-coordinate of the first line's startpoint.

    • x1: number

      X-coordinate of the first line's endpoint.

    • y1: number

      Y-coordinate of the first line's endpoint.

    • x2: number

      X-coordinate of the second line's startpoint.

    • y2: number

      Y-coordinate of the second line's startpoint.

    • x3: number

      X-coordinate of the second line's endpoint.

    • y3: number

      Y-coordinate of the second line's endpoint.

    Returns null | Point