Back to FabImage Library Lite website

You are here: Start » Image » Image Drawing » DrawRegion

DrawRegion


Header: FIL.h
Namespace: fil

Draws a region on an image.

Syntax

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
Input will be modified
ioImage Image&
Input value
inRegion const Region& Input region
Input value
inRegionAlignment Optional<const CoordinateSystem2D&> NIL
Input value
inColor const Pixel&
Input value
inOpacity const float 0.0 - 1.0