Click or drag to resize

CanvasDrawLine Method

Draw a line onto this canvas.

Namespace:  Atalasoft.Imaging.Drawing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void DrawLine(
	Point startPoint,
	Point endPoint,
	AtalaPen pen
)

Parameters

startPoint
Type: System.DrawingPoint
The start point of the line in image pixel coordinates.
endPoint
Type: System.DrawingPoint
The end point of the line in image pixel coordinates.
pen
Type: Atalasoft.Imaging.DrawingAtalaPen
The AtalaPen controling the line characteristics.
Remarks
The line is specified from a start point to an end point and a pen to control it's color, thickness, line style, and fill style.
See Also