You are here: Start » AVL.NET » AVS.DrawLines_MultiColor Method

AVS.DrawLines_MultiColor Method

Draws lines on an image with multiple colors.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DrawLines_MultiColor
(
	AvlNet.Image inImage,
	NullableRef<IList<AvlNet.Line2D?>> inLines,
	AvlNet.CoordinateSystem2D? inLineAlignment,
	NullableRef<IList<AvlNet.Hash?>> inColorIds,
	NullableRef<IList<AvlNet.Pixel>> inPalette,
	AvlNet.DrawingStyle inDrawingStyle,
	bool inForceRgb,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inLinesAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Line2D?>>{ }Default value: { }.
inLineAlignmentAvlNet.CoordinateSystem2D?
inColorIdsAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Hash?>>
inPaletteAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Pixel>>{ Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ), Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ) }Default value: { Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ), Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ) }.
inDrawingStyleAvlNet.DrawingStyleDrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f )Default value: DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f ).
inForceRgbboolTrueFilter will convert monochromatic image to RGB if needed. Default value: True.
outImageAvlNet.ImageOutput image.

Function Overrides

See also