You are here: Start » AVL.NET » Invoke.DrawDimensionLine

Invoke.DrawDimensionLine

Draws a dimension line on an image.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void DrawDimensionLine
(
	Avl.Image ioImage,
	Avl.Segment2D inSegment,
	Optional<Avl.CoordinateSystem2D> inSegmentAlignment,
	Avl.Pixel inColor,
	Avl.DrawingStyle inDrawingStyle,
	float inHeadSize,
	float inScale,
	Avl.MetricUnit inMetricUnit,
	int inFractionalDigitCount,
	float inTextSize
)

Parameters

Name Type Range Default Description
ioImageAvl.Image
inSegmentAvl.Segment2D
inSegmentAlignmentAtl.Optional<Avl.CoordinateSystem2D>
inColorAvl.Pixel
inDrawingStyleAvl.DrawingStyle
inHeadSizefloat<0.0f, INF>5.0fDefault value: 5.0f.
inScalefloat<0.0f, INF>1.0fpx / mm. Default value: 1.0f.
inMetricUnitAvl.MetricUnitavl::MetricUnit::MillimetersDefault value: avl::MetricUnit::Millimeters.
inFractionalDigitCountint<0, 100>3How many characters the fractional part of the number should have. Default value: 3.
inTextSizefloat<10.0f, INF>12.0fDefault value: 12.0f.

See also