Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Drawing » DrawShapeRegion

DrawShapeRegion


Header: AVL.h
Namespace: avl
Module: FoundationLite

Draws a shape region on an image.

Syntax

C++
C#
 
void avl::DrawShapeRegion
(
	avl::Image& ioImage,
	const avl::ShapeRegion& inRoi,
	atl::Optional<const avl::CoordinateSystem2D&> inRegionAlignment,
	const avl::Pixel& inColor,
	const avl::DrawingStyle& inDrawingStyle,
	const bool inForceRgb
)

Parameters

Name Type Default Description
Input will be modified ioImage Image&
Input value inRoi const ShapeRegion& Range of pixels to be processed
Input value inRegionAlignment Optional<const CoordinateSystem2D&> NIL
Input value inColor const Pixel&
Input value inDrawingStyle const DrawingStyle& DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f )
Input value inForceRgb const bool True Filter will convert monochromatic image to RGB if needed