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

AVS.DrawRectangles_SingleColor Method

Draws rectangles on an image with a single color.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DrawRectangles_SingleColor
(
	AvlNet.Image inImage,
	NullableRef<IList<AvlNet.Rectangle2D?>> inRectangles,
	AvlNet.Pixel inColor,
	AvlNet.DrawingStyle inDrawingStyle,
	bool inForceRgb,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRectanglesAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Rectangle2D?>>{ }Default value: { }.
inColorAvlNet.Pixel
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