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

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

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

See also