www.gnostice.com 

LineA Method

Top  Previous  Next

The LineA method draws a line that connects two points.

 

 

 

 

Syntax

 

 

[VC++]

void LineA(double X1, double Y1, double X2, double Y2);

 

[C#]

public abstract new void LineA (System.Double X1 , System.Double Y1 , System.Double X2 , System.Double Y2 )

 

[VB]

Sub LineA(X1 As Double, Y1 As Double, X2 As Double, Y2 As Double)

 

 

 

 

 

 

Parameters

 

 

X1

[in] specifies the x-coordinate of the starting point of the line.

 

 

Y1

[in] specifies the y-coordinate of the starting point of the line.

 

 

X2

[in] specifies the x-coordinate of the ending point of the line.

 

 

Y2

[in] specifies the y-coordinate of the ending point of the line.

 

 

 

 

 

Example Code

 

 

For an example, see Shapes