Click or drag to resize

IBitmapImageGPlotLine Method (Int32, Int32, Single, Int32, Int32)

Plots a line from start point (origin is bottom left), at given angle, for given radius. Returns end point co-ordinates.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
(int EndX, int EndY) GPlotLine(
	int xStart,
	int yStart,
	float angle,
	int radius,
	int colourRGB
)

Parameters

xStart
Type: SystemInt32
Line start x co-ordinate.
yStart
Type: SystemInt32
Line start y co-ordinate.
angle
Type: SystemSingle
Angle in degrees.
radius
Type: SystemInt32
Radius.
colourRGB
Type: SystemInt32
Colour code.

Return Value

Type: ValueTupleInt32, Int32
Co-ordinates of end point.
See Also