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 | |
|---|---|---|---|---|---|
![]() |
ioImage | Image | |||
![]() |
inRegion | Region | Input region | ||
![]() |
inRegionAlignment | CoordinateSystem2D | None | None | ||
![]() |
inColor | Pixel | |||
![]() |
inOpacity | float | 0.0 - 1.0 |


