Draw a line onto this canvas.
Namespace:
Atalasoft.Imaging.Drawing
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic void DrawLine(
Point startPoint,
Point endPoint,
AtalaPen pen
)
Public Sub DrawLine (
startPoint As Point,
endPoint As Point,
pen As AtalaPen
)
Parameters
- startPoint
- Type: System.Drawing.Point
The start point of the line in image pixel coordinates. - endPoint
- Type: System.Drawing.Point
The end point of the line in image pixel coordinates. - pen
- Type: Atalasoft.Imaging.Drawing.AtalaPen
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