 | IMaskCutRectangleUserMask Method |
Keeps or cuts a defined rectangular region of the user mask.
Namespace:
LynceeTec.Interfaces
Assembly:
LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 9.0.26418.0 , built 2021-10-22 08:45:14 UTC
Syntaxvoid CutRectangleUserMask(
int roiLeft,
int roiTop,
int roiWidth,
int roiHeight,
bool keepInside,
bool intersection
)
void CutRectangleUserMask(
int roiLeft,
int roiTop,
int roiWidth,
int roiHeight,
bool keepInside,
bool intersection
)
Parameters
- roiLeft
- Type: SystemInt32
Left coordinate of the top-left corner - roiTop
- Type: SystemInt32
Top coordinate of the top-left corner - roiWidth
- Type: SystemInt32
Width of the area - roiHeight
- Type: SystemInt32
Height of the area - keepInside
- Type: SystemBoolean
true keeps what is in the defined region, false keeps what is outside. - intersection
- Type: SystemBoolean
true keeps the intersection of the region with the already selected zone, false keeps their union.
See Also