Creates a new PPath with the shape of a line specified by the given coordinates.
Parameters
- x1
- The x-coordinate of the start-point of the line.
- y1
- The y-coordinate of the start-point of the line.
- x2
- The x-coordinate of the end-point of the line.
- y2
- The y-coordinate of the end-point of the line.
Return Value
The new PPath node.
See Also
PPath Class | UMD.HCIL.Piccolo.Nodes Namespace