• calculates a line that is 'length' pixels long, perpendicular to, and centered on, the path at 'distance' pixels from the given location. if distance is not supplied, the perpendicular for the given location is computed (ie. we set distance to zero).

    Parameters

    • curve: Curve
    • location: number
    • length: number
    • distance: number

    Returns LineXY