|
DrawingLine Method (BitmapData, IntPoint, IntPoint, Color)
|
Draw a line on the specified image.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public static void Line(
BitmapData imageData,
IntPoint point1,
IntPoint point2,
Color color
)
Public Shared Sub Line (
imageData As BitmapData,
point1 As IntPoint,
point2 As IntPoint,
color As Color
)
Request Example
View SourceParameters
- imageData
- Type: System.Drawing.ImagingBitmapData
Source image data to draw on. - point1
- Type: AccordIntPoint
The first point to connect. - point2
- Type: AccordIntPoint
The second point to connect. - color
- Type: System.DrawingColor
Line's color.
Exceptions See Also