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

AVS.DrawDimensionLines_SingleColor Method

Draws dimension lines on an image with a single color.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DrawDimensionLines_SingleColor
(
	AvlNet.Image inImage,
	NullableRef<IList<AvlNet.Segment2D?>> inSegments,
	AvlNet.CoordinateSystem2D? inSegmentAlignment,
	AvlNet.Pixel inColor,
	AvlNet.DrawingStyle inDrawingStyle,
	float inHeadSize,
	float inScale,
	AvlNet.MetricUnit inMetricUnit,
	int inFractionalDigitCount,
	float inTextSize,
	bool inForceRgb,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inSegmentsAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Segment2D?>>{ }Default value: { }.
inSegmentAlignmentAvlNet.CoordinateSystem2D?
inColorAvlNet.Pixel
inDrawingStyleAvlNet.DrawingStyleDrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f )Default value: DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f ).
inHeadSizefloat<0.0f, INF>5.0fDefault value: 5.0f.
inScalefloat<0.0f, INF>1.0fpx / mm. Default value: 1.0f.
inMetricUnitAvlNet.MetricUnitMillimetresDefault value: Millimetres.
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.
inForceRgbboolTrueFilter will convert monochromatic image to RGB if needed. Default value: True.
outImageAvlNet.ImageOutput image.

Function Overrides

See also