GraphicsDrawLine Method (Pen, Single, Single, Single, Single) |
Draws a line with the specified pen
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void DrawLine(
Pen pen,
float startx,
float starty,
float endx,
float endy
)
Public Sub DrawLine (
pen As Pen,
startx As Single,
starty As Single,
endx As Single,
endy As Single
)
member DrawLine :
pen : Pen *
startx : float32 *
starty : float32 *
endx : float32 *
endy : float32 -> unit
Parameters
- pen
- Type: Eto.DrawingPen
Pen to draw the line with - startx
- Type: SystemSingle
X co-ordinate of the starting point - starty
- Type: SystemSingle
Y co-ordinate of the starting point - endx
- Type: SystemSingle
X co-ordinate of the ending point - endy
- Type: SystemSingle
Y co-ordinate of the ending point
See Also