You are here: Start » AVL.NET » AVS.DrawRegions_TwoColors Method
AVS.DrawRegions_TwoColors Method
Draws regions on an image with two colors, depending on the status of each region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void DrawRegions_TwoColors ( AvlNet.Image inImage, NullableRef<IList<NullableRef<AvlNet.Region>>> inRegions, AvlNet.CoordinateSystem2D? inRegionAlignment, AvlNet.Pixel inColorIfTrue, AvlNet.Pixel inColorIfFalse, NullableRef<IList<bool?>> inConditions, float inOpacity, bool inForceRgb, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRegions | AvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.NullableRef<AvlNet.Region>>> | { } | Default value: { }. | ||
inRegionAlignment | AvlNet.CoordinateSystem2D? | ||||
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: { }. | ||
inOpacity | float | <0.0f, 1.0f> | 1.0f | Default value: 1.0f. | |
inForceRgb | bool | True | Filter will convert monochromatic image to RGB if needed. Default value: True. | ||
outImage | AvlNet.Image | Output image. |