Click or drag to resize

IBitmapImagePlotLine Method (Int32, Int32, Int32, Int32, Int32)

Plots a line from start point (origin is top left) to end point.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
void PlotLine(
	int xStart,
	int yStart,
	int xEnd,
	int yEnd,
	int colourRGB
)

Parameters

xStart
Type: SystemInt32
Line start x co-ordinate.
yStart
Type: SystemInt32
Line start y co-ordinate.
xEnd
Type: SystemInt32
Line end x co-ordinate.
yEnd
Type: SystemInt32
Line end y co-ordinate.
colourRGB
Type: SystemInt32
Colour code.
Exceptions
ExceptionCondition
ArgumentExceptionLine co-ordinates exceed image perimeter.
See Also