Function lineRectangleIntersection

  • Finds all points where the given line intersects the given rectangle.

    Parameters

    Returns PointXY[]

    An array of intersection points. If there are no intersection points the array will be empty, but never null.

Version :