CreateBoxRegion


Creates a rectangular region corresponding to a given box.

Syntax

C++
Python
 
def CreateBoxRegion(
	inBox: Box,
	inFrameWidth: int,
	inFrameHeight: int,
	outRegion: Region,
	/
)
-> None

Parameters

Name Type Range Default Description
Input value inBox Box A box defining pixels that will be converted to white elements
Input value inFrameWidth int 0 - 65535 Width of the created region's frame (not to be confused with the width of the box!)
Input value inFrameHeight int 0 - 65535 Height of the created region's frame (not to be confused with the height of the box!)
Output value outRegion Region Output region