DrawLine

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TDrawingBitmap > Methods >

DrawLine

Previous pageReturn to chapter overviewNext page

Draws a line connecting the two points specified by the coordinate pairs.

 

pPenColor - Pen color.

pPenWidth - Pen width.

x1 - The x-coordinate of the first point.

y1 - The y-coordinate of the first point.

x2 - The x-coordinate of the second point.

y2 - The y-coordinate of the second point.

 

DrawLine                       PROCEDURE(LONG pPenColor, SREAL pPenWidth, SREAL x1, SREAL y1, SREAL x2, SREAL y2), BOOL, PROC