You are here: Start » AVL.NET » AVL.DrawPaths_TwoColors(AvlNet.Image, AvlNet.Path[], AvlNet.CoordinateSystem2D?, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, bool, AvlNet.Image)

AVL.DrawPaths_TwoColors(AvlNet.Image, AvlNet.Path[], AvlNet.CoordinateSystem2D?, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, bool, AvlNet.Image)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawPaths_TwoColors(
	AvlNet.Image inImage,
	AvlNet.Path[] inPaths,
	AvlNet.CoordinateSystem2D? inPathAlignment,
	AvlNet.Pixel inColorIfTrue,
	AvlNet.Pixel inColorIfFalse,
	bool?[] inConditions,
	AvlNet.DrawingStyle inDrawingStyle,
	bool inForceRgb,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
inPaths
Type: AvlNet.Path
inPathAlignment
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
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 paths on the inImage using common drawing parameters for all of them. Paths 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 DrawPaths_TwoColors on an empty image.

Errors

Error type Description
DomainError Inconsistent input array sizes in DrawPaths_TwoColors.

See also