DrawBox


Draws a box on an image.

Syntax

C++
Python
 
def DrawBox(
	ioImage: Image,
	inBox: Box,
	inColor: Pixel,
	/,
	*,
	inOpacity: float = 1.0
)
-> None

Parameters

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