SvgGraphicsDrawLine Method

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

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
C#
public void DrawLine(
	ColorPen pen,
	float x1,
	float y1,
	float x2,
	float y2
)

Parameters

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.

Implements

IGraphicsDrawLine(ColorPen, Single, Single, Single, Single)

See Also