RevGrid - v0.10.0
    Preparing search index...
    • 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.

      Parameters

      • left: number

        The x-coordinate of the reference corner.

      • top: number

        The y-coordinate of the reference corner.

      • width: number

        The width of the rectangle (can be negative depending on the corner).

      • height: number

        The height of the rectangle (can be negative depending on the corner).

      • corner: CornerId

        The corner from which the rectangle is being created. Should be one of the RevFirstCornerArea.CornerId enum values.

      Returns RevRectangle