matrix-dom
    Preparing search index...

    Function getLineTransitionPoints

    • Having provided two points, return an array of transition points connecting 'start' and 'end'. Return array includes 'start' (line[0]) and 'end' (line[line.length-1])

      Parameters

      • start: Point

        The starting location of the line.

      • end: Point

        The final line destination.

      • line: Line = []

        The resulting line to connect start and end.

      • transitions: number | null = null

        specify the desired number of transitions, resulting points will be transitions+1 (defaults to the largest absolute difference between the points).

      Returns Line