Method path
| Improve this Doc View Sourcepath(Int32, Double, Double, Double, Double)
plpath: Draw a line between two points, accounting for coordinate transforms
Declaration
public void path(Int32 n, Double x1, Double y1, Double x2, Double y2)
Parameters
Type | Name | Description |
---|---|---|
Int32 | n | number of points to use to approximate the path. |
Double | x1 | x coordinate of first point. |
Double | y1 | y coordinate of first point. |
Double | x2 | x coordinate of second point. |
Double | y2 | y coordinate of second point. |
Remarks
Joins the point (x1, y1) to (x2, y2) . If a global coordinate transform is defined then the line is broken in to n segments to approximate the path. If no transform is defined then this simply acts like a call to pljoin.