Back to FabImage Library Lite website
You are here: Start » Image » Image Drawing » DrawRectangle
DrawRectangle
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
Draws a rectangle on an image.
Syntax
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& |

