DrawRegion


Draws a region on an image.

Syntax

C++
Python
 
def DrawRegion(
	ioImage: Image,
	inRegion: Region,
	inColor: Pixel,
	inOpacity: float,
	/,
	*,
	inRegionAlignment: CoordinateSystem2D | None = None
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioImage Image
Input value inRegion Region Input region
Input value inRegionAlignment CoordinateSystem2D | None None
Input value inColor Pixel
Input value inOpacity float 0.0 - 1.0