Click or drag to resize

IMaskCutRectangleUserMask Method

Keeps or cuts a defined rectangular region of the user mask.

Namespace: LynceeTec.Interfaces
Assembly: LynceeTec.Interfaces (in LynceeTec.Interfaces.dll) Version: 10.2.3317.0 , built 2025-03-17 14:03:43 UTC
Syntax
void CutRectangleUserMask(
	int roiLeft,
	int roiTop,
	int roiWidth,
	int roiHeight,
	bool keepInside,
	bool intersection
)

Parameters

roiLeft  Int32
Left coordinate of the top-left corner
roiTop  Int32
Top coordinate of the top-left corner
roiWidth  Int32
Width of the area
roiHeight  Int32
Height of the area
keepInside  Boolean
true keeps what is in the defined region, false keeps what is outside.
intersection  Boolean
true keeps the intersection of the region with the already selected zone, false keeps their union.
See Also