@maxgraph/core
    Preparing search index...

    Function contains

    • Returns true if the specified point (x, y) is contained in the given rectangle.

      Parameters

      • bounds: Rectangle

        Rectangle that represents the area.

      • x: number

        X-coordinate of the point.

      • y: number

        Y-coordinate of the point.

      Returns boolean