Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Drawing » DrawRectangle
Draws a rectangle on an image.
Syntax
C++
C#
void avl::DrawRectangle ( avl::Image& ioImage, const avl::Rectangle2D& inRectangle, atl::Optional<const avl::CoordinateSystem2D&> inRectangleAlignment, const avl::Pixel& inColor, const avl::DrawingStyle& inDrawingStyle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioImage | Image& | |||
inRectangle | const Rectangle2D& | |||
inRectangleAlignment | Optional<const CoordinateSystem2D&> | NIL | ||
inColor | const Pixel& | |||
inDrawingStyle | const DrawingStyle& |