Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Drawing » DrawRegion
Draws a region on an image.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::DrawRegion ( avl::Image& ioImage, const avl::Region& inRegion, atl::Optional<const avl::CoordinateSystem2D&> inRegionAlignment, const avl::Pixel& inColor, const float inOpacity )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioImage | Image& | ||||
inRegion | const Region& | Input region | |||
inRegionAlignment | Optional<const CoordinateSystem2D&> | NIL | |||
inColor | const Pixel& | ||||
inOpacity | const float | 0.0 - 1.0 |