You are here: Start » AVL.NET » AVS.DrawDimensionLine Method

AVS.DrawDimensionLine Method

Draws a dimension line on an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DrawDimensionLine
(
	AvlNet.Image ioImage,
	AvlNet.Segment2D inSegment,
	AvlNet.CoordinateSystem2D? inSegmentAlignment,
	AvlNet.Pixel inColor,
	AvlNet.DrawingStyle inDrawingStyle,
	float inHeadSize,
	float inScale,
	AvlNet.MetricUnit inMetricUnit,
	int inFractionalDigitCount,
	float inTextSize
)

Parameters

Name Type Range Default Description
ioImageAvlNet.Image
inSegmentAvlNet.Segment2D
inSegmentAlignmentAvlNet.CoordinateSystem2D?
inColorAvlNet.Pixel
inDrawingStyleAvlNet.DrawingStyle
inHeadSizefloat<0.0f, INF>5.0fDefault value: 5.0f.
inScalefloat<0.0f, INF>1.0fpx / mm. Default value: 1.0f.
inMetricUnitAvlNet.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.

Function Overrides

See also