math docs
    Preparing search index...

    Function expandByPoint

    • Expands a Box2 to include a point

      Parameters

      • out: box2.Box2

        The output Box2

      • box: readonly [number, number, number, number]

        The input Box2

      • point: readonly [number, number]

        The point to include

      Returns box2.Box2

      The expanded Box2