|
DrawingLine Method (UnmanagedImage, 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(
UnmanagedImage image,
IntPoint point1,
IntPoint point2,
Color color
)
Public Shared Sub Line (
image As UnmanagedImage,
point1 As IntPoint,
point2 As IntPoint,
color As Color
)
Request Example
View SourceParameters
- image
- Type: Accord.ImagingUnmanagedImage
Source image 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