Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Region Basics » CreateRectangleBorderRegion

CreateRectangleBorderRegion


Creates a frame-shaped region with given parameters.

Name Type Range Description
inRectangle Rectangle2D
inRectangleAlignment CoordinateSystem2D* Adjusts the rectangle to the position of the inspected object
inBorderWidth Real 0.0 -
inBorderPosition BorderPosition
inFrameWidth Integer 0 - 65535 Width of the created region's frame
inFrameHeight Integer 0 - 65535 Height of the created region's frame
outRegion Region Output region
outAlignedRectangle Rectangle2D The input rectangle transformed to the absolute coordinate system

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Incorrect BorderPosition in CreateRectangleBorderRegion.

Complexity Level

This filter is available on Basic Complexity Level.