@maxgraph/core
    Preparing search index...

    Function getBoundingBox

    • Returns the bounding box for the rotated rectangle.

      Parameters

      • rect: Rectangle | null

        Rectangle to be rotated.

      • rotation: number
      • cx: Point | null = null

        Optional Point that represents the rotation center. If no rotation center is given then the center of rect is used.

      Returns Rectangle | null