Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Drawing » DrawRectangle
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Draws a rectangle on an image.
Syntax
C++
C#
void fil::DrawRectangle ( fil::Image& ioImage, const fil::Rectangle2D& inRectangle, ftl::Optional<const fil::CoordinateSystem2D&> inRectangleAlignment, const fil::Pixel& inColor, const fil::DrawingStyle& inDrawingStyle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioImage | Image& | |||
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
inRectangleAlignment | Optional<const CoordinateSystem2D&> | NIL | |
![]() |
inColor | const Pixel& | ||
![]() |
inDrawingStyle | const DrawingStyle& |