RegionContours
Computes an array of closed paths corresponding to the contours of the input region.
Syntax
C++
C#
Python
def RegionContours( inRegion: Region, /, *, inContourMode: RegionContourMode = RegionContourMode.PixelCenters, inRegionConnectivity: RegionConnectivity = RegionConnectivity.EightDirections ) -> outContours: list[Path]
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegion | Region | Input region | |
![]() |
inContourMode | RegionContourMode | RegionContourMode.PixelCenters | |
![]() |
inRegionConnectivity | RegionConnectivity | RegionConnectivity.EightDirections | Region connectivity semantics |
![]() |
outContours | list[Path] |


