The x-coordinate of the reference corner.
The y-coordinate of the reference corner.
The width of the rectangle (can be negative depending on the corner).
The height of the rectangle (can be negative depending on the corner).
The corner from which the rectangle is being created. Should be one of the RevFirstCornerArea.CornerId enum values.
Creates a rectangle based on the specified corner, ensuring exclusive bottom/right semantics.
Depending on the
corner
parameter, the rectangle's origin (x
,y
) and dimensions (width
,height
) are adjusted so that the rectangle is defined from the given corner and extends to the opposite side, with coordinates and sizes normalized for exclusive bottom/right.