• createLineSegment(fromX: number, fromY: number, toX: number, toY: number): Segment
  • Convenience function to create a Segment of SegmentType line

    Parameters

    • fromX: number
    • fromY: number
    • toX: number
    • toY: number

    Returns Segment

Generated using TypeDoc