You are here: Start » AVL.NET » AVS.DrawDimensionLines_TwoColors Method
AVS.DrawDimensionLines_TwoColors Method
Draws dimension lines on an image with two colors, depending on the status of each dimension line.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void DrawDimensionLines_TwoColors ( AvlNet.Image inImage, NullableRef<IList<AvlNet.Segment2D?>> inSegments, AvlNet.Pixel inColorIfTrue, AvlNet.Pixel inColorIfFalse, NullableRef<IList<bool?>> inConditions, 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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inSegments | AvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Segment2D?>> | { } | Default value: { }. | ||
inColorIfTrue | AvlNet.Pixel | Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ) | Default value: Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ). | ||
inColorIfFalse | AvlNet.Pixel | Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ) | Default value: Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ). | ||
inConditions | AvlNet.NullableRef<System.Collections.Generic.IList<bool?>> | { } | Default value: { }. | ||
inDrawingStyle | AvlNet.DrawingStyle | DrawingStyle ( 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 ). | ||
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 | AvlNet.MetricUnit | Millimetres | Default value: Millimetres. | ||
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. | |
inForceRgb | bool | True | Filter will convert monochromatic image to RGB if needed. Default value: True. | ||
outImage | AvlNet.Image | Output image. |