You are here: Start » AVL.NET » AVL.DrawBoxes_TwoColors(AvlNet.Image, AvlNet.Box?[], AvlNet.Pixel, AvlNet.Pixel, bool?[], float, bool, AvlNet.Image)
AVL.DrawBoxes_TwoColors(AvlNet.Image, AvlNet.Box?[], AvlNet.Pixel, AvlNet.Pixel, bool?[], float, bool, AvlNet.Image)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void DrawBoxes_TwoColors( AvlNet.Image inImage, AvlNet.Box?[] inBoxes, AvlNet.Pixel inColorIfTrue, AvlNet.Pixel inColorIfFalse, bool?[] inConditions, float inOpacity, bool inForceRgb, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
- inBoxes
- Type: System.Nullable<AvlNet.Box>
- inColorIfTrue
- Type: AvlNet.Pixel
- inColorIfFalse
- Type: AvlNet.Pixel
- inConditions
- Type: System.Nullable<System.Boolean>
- inOpacity
- Type: System.Single
- inForceRgb
- Type: System.Boolean
- outImage
- Type: AvlNet.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 boxes on the inImage using common drawing parameters for all of them.
Boxes may exceed the image dimensions - those will be drawn partially or not at all, but the filter
execution will succeed. Note that drawing is conducted in a pixel-precise way as the Box type is pixel-precise.
Examples
Example usage of the DrawBoxes_TwoColors on an empty image.
Errors
| Error type | Description |
|---|---|
| DomainError | Inconsistent input array sizes in DrawBoxes_TwoColors. |
