SvgGraphicsDrawLine Method
Draws a line connecting the two points specified by the coordinate pairs.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public void DrawLine(
ColorPen pen,
float x1,
float y1,
float x2,
float y2
)
Public Sub DrawLine (
pen As ColorPen,
x1 As Single,
y1 As Single,
x2 As Single,
y2 As Single
)
public:
virtual void DrawLine(
ColorPen^ pen,
float x1,
float y1,
float x2,
float y2
) sealed
abstract DrawLine :
pen : ColorPen *
x1 : float32 *
y1 : float32 *
x2 : float32 *
y2 : float32 -> unit
override DrawLine :
pen : ColorPen *
x1 : float32 *
y1 : float32 *
x2 : float32 *
y2 : float32 -> unit
- pen ColorPen
- ColorPen that determines the color, width, and style of the line.
- x1 Single
- The x-coordinate of the first point.
- y1 Single
- The y-coordinate of the first point.
- x2 Single
- The x-coordinate of the second point.
- y2 Single
- The y-coordinate of the second point.
IGraphicsDrawLine(ColorPen, Single, Single, Single, Single)