Line
Create a line object represnting a set of two points in 2D space.
Line objects can be constructed by passing in either 4 numbers (startX, startY, endX, endY) - or
two Point objects representing start
and end
respectively
Test:
Constructor Summary
Public Constructor | ||
public |
constructor(startX: number, startY: number, endX: number, endY: number) Construct a Line using 4 numbers |