Draws a line connecting the points defined by the specified coordinates.
Namespace: com.mindfusion.drawing
Package: com.mindfusion.drawing
Java
![]() |
---|
public void drawLine ( |
A Pen object that determines the color, width, and style of the line.
The x-coordinate of the first point to connect.
The y-coordinate of the first point to connect.
The x-coordinate of the second point to connect.
The y-coordinate of the second point to connect.