Rectangle Erode Method Cognex VisionPro 9.21

Creates a new rectangle which is the erosion of this by Other.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public Rectangle Erode(
	Rectangle other,
	CopyShapeConstants copyFlags
)

Return Value

Type: Rectangle

The eroded rectangle.

Remarks

Creates a new rectangle that is the result of eroding this rectangle with another rectangle. The eroded rectangle is the result of tracing other 's origin point as it occupies every possible point within this rectangle.

See Also