Back to FabImage Library website

You are here: Start » Function Reference » Image » Image Drawing » DrawBox

DrawBox


Header: FIL.h
Namespace: fil
Module: FoundationLite

Draws a box on an image.

Syntax

C++
C#
 
void fil::DrawBox
(
	fil::Image& ioImage,
	const fil::Box& inBox,
	const fil::Pixel& inColor,
	const float inOpacity
)

Parameters

Name Type Range Default Description
Input will be modified ioImage Image&
Input value inBox const Box&
Input value inColor const Pixel&
Input value inOpacity const float 0.0 - 1.0