Creates a new rectangle which is the erosion of this by Other.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax
Parameters
- other
- Type: Cognex.Vision Rectangle
The rectangle used to erode this rectangle.
- copyFlags
- Type: Cognex.Vision CopyShapeConstants
Specify which attributes of the shape to copy to the new shape.
Return Value
Type: RectangleThe 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