RevGrid - v0.10.0
    Preparing search index...
    • Determines whether the specified (x, y) coordinate lies within the bounds of the given rectangle.

      Parameters

      • rectangle: RevRectangle

        The rectangle to test against.

      • x: number

        The x-coordinate to check.

      • y: number

        The y-coordinate to check.

      Returns boolean

      true if the (x, y) coordinate is inside the rectangle (inclusive of the top-left edge and exclusive of the bottom-right edge); otherwise, false.