Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Drawing » DrawRegion
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Draws a region on an image.
Syntax
C++
C#
void fil::DrawRegion ( fil::Image& ioImage, const fil::Region& inRegion, ftl::Optional<const fil::CoordinateSystem2D&> inRegionAlignment, const fil::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 |