ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: drawLine

drawLine(v1, v2) draws the straight line segment between v1 ∈ R^2 and v2 ∈ R^2.

drawLine(v1, v2, s) draws the straight line segment between v1 ∈ R^2 and v2 ∈ R^2 using the style (CSS) s.