You are here: Start » AVL.NET » AVL.DrawBoxes_SingleColor(AvlNet.Image, AvlNet.Box?[], AvlNet.Pixel, float, bool, AvlNet.Image)

AVL.DrawBoxes_SingleColor(AvlNet.Image, AvlNet.Box?[], AvlNet.Pixel, float, bool, AvlNet.Image)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawBoxes_SingleColor(
	AvlNet.Image inImage,
	AvlNet.Box?[] inBoxes,
	AvlNet.Pixel inColor,
	float inOpacity,
	bool inForceRgb,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
inBoxes
Type: System.Nullable<AvlNet.Box>
inColor
Type: AvlNet.Pixel
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_SingleColor on an empty image.

See also