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

AVL.DrawRegions_Palette(AvlNet.Image, AvlNet.Region[], AvlNet.CoordinateSystem2D?, AvlNet.Pixel[], float, bool, AvlNet.Image)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawRegions_Palette(
	AvlNet.Image inImage,
	AvlNet.Region[] inRegions,
	AvlNet.CoordinateSystem2D? inRegionAlignment,
	AvlNet.Pixel[] inColors,
	float inOpacity,
	bool inForceRgb,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
inRegions
Type: AvlNet.Region
inRegionAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
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 regions on the inImage using common drawing parameters for all of them. Regions may exceed the image dimensions - those will be drawn partially or not at all, but the filter execution will succeed.

Examples

Example usage of the DrawRegions_Palette on an empty image.

See also