You are here: Start » AVL.NET » AVL.DrawLines_TwoColors(AvlNet.Image, AvlNet.Line2D?[], AvlNet.CoordinateSystem2D?, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, bool, AvlNet.Image)
AVL.DrawLines_TwoColors(AvlNet.Image, AvlNet.Line2D?[], AvlNet.CoordinateSystem2D?, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, bool, AvlNet.Image)
Draws lines on an image with two colors, depending on the status of each line (usually: green or red for pass/fail status).
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void DrawLines_TwoColors( AvlNet.Image inImage, AvlNet.Line2D?[] inLines, AvlNet.CoordinateSystem2D? inLineAlignment, AvlNet.Pixel inColorIfTrue, AvlNet.Pixel inColorIfFalse, bool?[] inConditions, AvlNet.DrawingStyle inDrawingStyle, bool inForceRgb, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inLines
- Type: System.Nullable<AvlNet.Line2D>
- inLineAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
- inColorIfTrue
- Type: AvlNet.Pixel
- inColorIfFalse
- Type: AvlNet.Pixel
- inConditions
- Type: System.Nullable<System.Boolean>
- inDrawingStyle
- Type: AvlNet.DrawingStyle
- inForceRgb
- Type: System.Boolean
Filter will convert monochromatic image to RGB if needed - outImage
- Type: AvlNet.Image
Output image
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Description
The operation draws an array of lines on the inImage using common drawing parameters for all of them. As the length of every line is infinite, they are drawn partially.
Examples
Example usage of the DrawLines_TwoColors on an empty image.
Errors
| Error type | Description |
|---|---|
| DomainError | Inconsistent input array sizes in DrawLines_TwoColors. |
