DrawShapeRegion
Draws a shape region on an image.
Syntax
C++
Python
def DrawShapeRegion( ioImage: Image, inRoi: ShapeRegion, /, *, inRegionAlignment: CoordinateSystem2D | None = None, inColor: Pixel = Pixel(0, 0, 0, 0), inDrawingStyle: DrawingStyle = DrawingStyle(DrawingMode.HighQuality, 1.0, 1.0, False, None, 1.0), inForceRgb: bool = True ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioImage | Image | ||
![]() |
inRoi | ShapeRegion | Range of pixels to be processed | |
![]() |
inRegionAlignment | CoordinateSystem2D | None | None | |
![]() |
inColor | Pixel | Pixel(0, 0, 0, 0) | |
![]() |
inDrawingStyle | DrawingStyle | DrawingStyle(DrawingMode.HighQuality, 1.0, 1.0, False, None, 1.0) | |
![]() |
inForceRgb | bool | True | Filter will convert monochromatic image to RGB if needed |


