Rectangle Dilate Method Cognex VisionPro 9.21

Creates a new rectangle which is the dilation 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 Dilate(
	Rectangle other,
	CopyShapeConstants copyFlags
)

Return Value

Type: Rectangle

The dilated rectangle.

Remarks

Creates a new rectangle that is the result of dilating this rectangle with another rectangle. The dilated rectangle is the area occupied by other as its origin traces the perimeter of this rectangle.

See Also