You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
ioImage | Avl.Image | ||||
![]() | inSegment | Avl.Segment2D | |||
![]() | inSegmentAlignment | Atl.Optional<Avl.CoordinateSystem2D> | |||
![]() | inColor | Avl.Pixel | |||
![]() | inDrawingStyle | Avl.DrawingStyle | |||
![]() | inHeadSize | float | <0.0f, INF> | 5.0f | Default value: 5.0f. |
![]() | inScale | float | <0.0f, INF> | 1.0f | px / mm. Default value: 1.0f. |
![]() | inMetricUnit | Avl.MetricUnit | avl::MetricUnit::Millimeters | Default value: avl::MetricUnit::Millimeters. | |
![]() | inFractionalDigitCount | int | <0, 100> | 3 | How many characters the fractional part of the number should have. Default value: 3. |
![]() | inTextSize | float | <10.0f, INF> | 12.0f | Default value: 12.0f. |