## Uses of Class
com.mxgraph.util.mxRectangle

- Packages that use mxRectangle
  Package | Description
  --- | ---
  com.mxgraph.canvas | This package contains various implementations for painting a graph using different technologies, such as Graphics2D, HTML, SVG or VML.
  com.mxgraph.layout | This package contains various graph layouts.
  com.mxgraph.model | This package contains the classes that define a graph model.
  com.mxgraph.reader | This package contains the classes required to turn an encoded mxGraphView into an image using SAX and without having to create a graph model.
  com.mxgraph.shape |
  com.mxgraph.swing | This package contains the main component for JFC/Swing, namely the graph component and the outline component.
  com.mxgraph.swing.handler | This package contains all classes required for mouse event handling in JFC/Swing.
  com.mxgraph.swing.util | This package contains all utility classes that require JFC/Swing, namely for mouse event handling, drag and drop, actions and overlays.
  com.mxgraph.swing.view | This package contains all classes required for interaction, namely the mxCellEditor used for in-place editing and the mxInteractiveCanvas, which defines the requirements for a canvas that supports hit-detection on shapes.
  com.mxgraph.util | This package provides utility classes such as mxConstants, mxUtils, mxPoint and mxRectangle as well as all classes for custom events and the undo history.
  com.mxgraph.view | This package implements the graph component, represented by the mxGraph class.

- - ### Uses of mxRectangle in com.mxgraph.canvas

    Methods in com.mxgraph.canvas with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `java.awt.Paint` | mxGraphics2DCanvas.`createFillPaint(mxRectangle bounds, java.util.Map<java.lang.String,java.lang.Object> style)`
    `java.awt.Graphics2D` | mxGraphics2DCanvas.`createTemporaryGraphics(java.util.Map<java.lang.String,java.lang.Object> style, float opacity, mxRectangle bounds)`

  - ### Uses of mxRectangle in com.mxgraph.layout

    Methods in com.mxgraph.layout that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `protected mxRectangle` | mxCompactTreeLayout.`apply(mxCompactTreeLayout.TreeNode node, mxRectangle bounds)`
    `mxRectangle` | mxStackLayout.`getContainerSize()` Hook for subclassers to return the container size.
    `mxRectangle` | mxPartitionLayout.`getContainerSize()` Hook for subclassers to return the container size.
    `mxRectangle` | mxGraphLayout.`getVertexBounds(java.lang.Object vertex)` Returns an that defines the bounds of the given cell or the bounding box if is true.
    `protected mxRectangle` | mxCompactTreeLayout.`horizontalLayout(mxCompactTreeLayout.TreeNode node, double x0, double y0, mxRectangle bounds)`
    `mxRectangle` | mxGraphLayout.`setVertexLocation(java.lang.Object vertex, double x, double y)` Sets the new position of the given cell taking into account the size of the bounding box if is true.
    `protected mxRectangle` | mxCompactTreeLayout.`verticalLayout(mxCompactTreeLayout.TreeNode node, java.lang.Object parent, double x0, double y0, mxRectangle bounds)`

    Methods in com.mxgraph.layout with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `protected mxRectangle` | mxCompactTreeLayout.`apply(mxCompactTreeLayout.TreeNode node, mxRectangle bounds)`
    `protected mxRectangle` | mxCompactTreeLayout.`horizontalLayout(mxCompactTreeLayout.TreeNode node, double x0, double y0, mxRectangle bounds)`
    `protected mxRectangle` | mxCompactTreeLayout.`verticalLayout(mxCompactTreeLayout.TreeNode node, java.lang.Object parent, double x0, double y0, mxRectangle bounds)`

  - ### Uses of mxRectangle in com.mxgraph.model

    Subclasses of mxRectangle in com.mxgraph.model
    Modifier and Type | Class and Description
    --- | ---
    `class` | `mxGeometry` Represents the geometry of a cell.

    Fields in com.mxgraph.model declared as mxRectangle
    Modifier and Type | Field and Description
    --- | ---
    `protected mxRectangle` | mxGeometry.`alternateBounds` Stores alternate values for x, y, width and height in a rectangle.

    Methods in com.mxgraph.model that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `mxRectangle` | mxGeometry.`getAlternateBounds()` Returns the alternate bounds.

    Methods in com.mxgraph.model with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxGeometry.`setAlternateBounds(mxRectangle rect)` Sets the alternate bounds to the given rectangle.

  - ### Uses of mxRectangle in com.mxgraph.reader

    Fields in com.mxgraph.reader declared as mxRectangle
    Modifier and Type | Field and Description
    --- | ---
    `protected mxRectangle` | mxGraphViewImageReader.`clip` Defines the clip to be drawn.

    Methods in com.mxgraph.reader that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `mxRectangle` | mxGraphViewImageReader.`getClip()`

    Methods in com.mxgraph.reader with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxGraphViewImageReader.`setClip(mxRectangle value)`

  - ### Uses of mxRectangle in com.mxgraph.shape

    Fields in com.mxgraph.shape declared as mxRectangle
    Modifier and Type | Field and Description
    --- | ---
    `mxRectangle` | mxCurveLabelShape.LabelGlyphCache.`drawingBounds` The un-rotated rectangle that just bounds this character
    `static mxRectangle` | mxCurveLabelShape.`INVALID_GLYPH_BOUNDS` Indicates that a glyph does not have valid drawing bounds, usually because it is not visible
    `protected mxRectangle` | mxCurveLabelShape.`labelBounds` Cache of the bounds of the label
    `mxRectangle` | mxCurveLabelShape.LabelGlyphCache.`labelGlyphBounds` Cache of the bounds of the individual element of the label of this edge.

    Methods in com.mxgraph.shape that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `protected mxRectangle` | mxStencil.`computeAspect(mxCellState state, mxRectangle bounds, java.lang.String direction)` Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given rectangle.
    `mxRectangle` | mxCurveLabelShape.`getCenterVisiblePosition()` Returns the drawing bounds of the central indexed visible glyph
    `protected mxRectangle` | mxSwimlaneShape.`getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)`
    `protected mxRectangle` | mxBasicShape.`getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)`
    `mxRectangle` | mxCurveLabelShape.`getLabelBounds()`
    `mxRectangle` | mxCurveLabelShape.`updateLabelBounds(java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> style)` Updates the cached position and size of each glyph in the edge label.

    Methods in com.mxgraph.shape with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `protected mxRectangle` | mxStencil.`computeAspect(mxCellState state, mxRectangle bounds, java.lang.String direction)` Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given rectangle.
    `protected void` | mxStencil.`drawElement(mxGraphicsCanvas2D canvas, mxCellState state, org.w3c.dom.Element node, mxRectangle aspect)` Drawsthe given element.
    `protected void` | mxStencil.`drawShadow(mxGraphicsCanvas2D canvas, mxCellState state, double rotation, boolean flipH, boolean flipV, mxRectangle bounds, double alpha, boolean filled)` Draws the shadow.
    `boolean` | mxStencil.`drawShape(mxGraphicsCanvas2D canvas, mxCellState state, mxRectangle bounds, boolean background)` Draws this stencil inside the given bounds.

  - ### Uses of mxRectangle in com.mxgraph.swing

    Fields in com.mxgraph.swing declared as mxRectangle
    Modifier and Type | Field and Description
    --- | ---
    `protected mxRectangle` | mxGraphOutline.`repaintClip` Clip of the triple buffer to be repainted.

    Methods in com.mxgraph.swing that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `mxRectangle` | mxGraphComponent.`getLayoutAreaSize()` Returns the size of the area that layouts can operate in.

  - ### Uses of mxRectangle in com.mxgraph.swing.handler

    Fields in com.mxgraph.swing.handler declared as mxRectangle
    Modifier and Type | Field and Description
    --- | ---
    `protected mxRectangle` | mxGraphHandler.`bbox` Scaled, translated bounding box of the selection cells.
    `protected mxRectangle` | mxGraphHandler.`cellBounds` Scaled, translated bounds of the selection cells.
    `protected mxRectangle` | mxInsertHandler.`current`
    `protected mxRectangle` | mxMovePreview.`lastDirty`
    `protected mxRectangle` | mxGraphHandler.`transferBounds` Unscaled, untranslated bounding box of the selection cells.

    Methods in com.mxgraph.swing.handler that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `protected mxRectangle` | mxMovePreview.`getPlaceholderBounds(mxCellState startState)`
    `protected mxRectangle` | mxVertexHandler.`union(mxRectangle bounds, double dx, double dy, int index)`

    Methods in com.mxgraph.swing.handler with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `mxGraphTransferable` | mxGraphTransferHandler.`createGraphTransferable(mxGraphComponent graphComponent, java.lang.Object[] cells, mxRectangle bounds, javax.swing.ImageIcon icon)`
    `protected java.awt.Rectangle` | mxConnectPreview.`getDirtyRect(mxRectangle dirty)`
    `java.lang.Object` | mxInsertHandler.`insertCell(mxRectangle bounds)`
    `protected void` | mxMovePreview.`repaint(mxRectangle dirty)`
    `protected mxRectangle` | mxVertexHandler.`union(mxRectangle bounds, double dx, double dy, int index)`

  - ### Uses of mxRectangle in com.mxgraph.swing.util

    Fields in com.mxgraph.swing.util declared as mxRectangle
    Modifier and Type | Field and Description
    --- | ---
    `protected mxRectangle` | mxGraphTransferable.`bounds`
    `protected mxRectangle` | mxMorphing.`dirty`

    Methods in com.mxgraph.swing.util that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `mxRectangle` | mxGraphTransferable.`getBounds()` Returns the unscaled, untranslated bounding box of the cells.
    `mxRectangle` | mxICellOverlay.`getBounds(mxCellState state)`
    `mxRectangle` | mxCellOverlay.`getBounds(mxCellState state)`

    Constructors in com.mxgraph.swing.util with parameters of type mxRectangle
    Constructor and Description
    `mxGraphTransferable(java.lang.Object[] cells, mxRectangle bounds)`
    `mxGraphTransferable(java.lang.Object[] cells, mxRectangle bounds, javax.swing.ImageIcon image)`

  - ### Uses of mxRectangle in com.mxgraph.swing.view

    Methods in com.mxgraph.swing.view that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `protected mxRectangle` | mxCellStatePreview.`revalidateState(mxCellState parentState, mxCellState state, double dx, double dy)`
    `mxRectangle` | mxCellStatePreview.`show()` Returns a dirty rectangle to be repainted in mxGraphControl.

  - ### Uses of mxRectangle in com.mxgraph.util

    Methods in com.mxgraph.util that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `static mxRectangle` | mxUtils.`getBoundingBox(mxRectangle rect, double rotation)` Returns the bounding box for the rotated rectangle.
    `mxRectangle` | mxCurve.`getBounds()`
    `static mxRectangle` | mxUtils.`getLabelPaintBounds(java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> style, boolean isHtml, mxPoint offset, mxRectangle vertexBounds, double scale)` Returns the paint bounds for the given label.
    `static mxRectangle` | mxUtils.`getLabelPaintBounds(java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> style, boolean isHtml, mxPoint offset, mxRectangle vertexBounds, double scale, boolean isEdge)` Returns the paint bounds for the given label.
    `static mxRectangle` | mxUtils.`getLabelSize(java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> style, boolean isHtml, double scale)` Returns the size for the given label.
    `static mxRectangle` | mxUtils.`getLabelSize(java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> style, boolean isHtml, double scale, double htmlWrapWidth)` Returns the size for the given label.
    `mxRectangle` | mxCurve.`getRelativeFromAbsPoint(mxPoint absPoint, java.lang.String index)` Calculates the position of an absolute in terms relative to this curve.
    `static mxRectangle` | mxUtils.`getScaledLabelBounds(double x, double y, mxRectangle size, double outerWidth, double outerHeight, java.util.Map<java.lang.String,java.lang.Object> style, double scale)` Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label.
    `static mxRectangle` | mxUtils.`getSizeForHtml(java.lang.String markup, java.util.Map<java.lang.String,java.lang.Object> style, double scale, double wrapWidth)` Returns an mxRectangle with the size (width and height in pixels) of the given HTML markup.
    `static mxRectangle` | mxUtils.`getSizeForString(java.lang.String text, java.awt.Font font, double scale)` Returns an with the size (width and height in pixels) of the given string.

    Methods in com.mxgraph.util with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxRectangle.`add(mxRectangle rect)` Adds the given rectangle to this rectangle.
    `mxPoint` | mxCurve.`collisionMove(java.lang.String index, mxRectangle rect, double buffer)` Returns a point to move the input rectangle to, in order to attempt to place the rectangle away from the curve.
    `static java.awt.image.BufferedImage` | mxCellRenderer.`createBufferedImage(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, boolean antiAlias, mxRectangle clip)`
    `static java.awt.image.BufferedImage` | mxCellRenderer.`createBufferedImage(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, boolean antiAlias, mxRectangle clip, mxGraphics2DCanvas graphicsCanvas)`
    `static org.w3c.dom.Document` | mxCellRenderer.`createHtmlDocument(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, mxRectangle clip)`
    `static org.w3c.dom.Document` | mxCellRenderer.`createSvgDocument(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, mxRectangle clip)`
    `static org.w3c.dom.Document` | mxCellRenderer.`createVmlDocument(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, mxRectangle clip)`
    `static mxICanvas` | mxCellRenderer.`drawCells(mxGraph graph, java.lang.Object[] cells, double scale, mxRectangle clip, mxCellRenderer.CanvasFactory factory)` Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells.
    `static mxRectangle` | mxUtils.`getBoundingBox(mxRectangle rect, double rotation)` Returns the bounding box for the rotated rectangle.
    `static mxRectangle` | mxUtils.`getLabelPaintBounds(java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> style, boolean isHtml, mxPoint offset, mxRectangle vertexBounds, double scale)` Returns the paint bounds for the given label.
    `static mxRectangle` | mxUtils.`getLabelPaintBounds(java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> style, boolean isHtml, mxPoint offset, mxRectangle vertexBounds, double scale, boolean isEdge)` Returns the paint bounds for the given label.
    `static mxRectangle` | mxUtils.`getScaledLabelBounds(double x, double y, mxRectangle size, double outerWidth, double outerHeight, java.util.Map<java.lang.String,java.lang.Object> style, double scale)` Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label.
    `protected mxPoint` | mxCurve.`intersectRectPerimeterPoint(java.lang.String curveIndex, mxRectangle rect, int indexSeg)` Returns the point at which this curve segment intersects the boundary of the given rectangle, if it does so.
    `protected int` | mxCurve.`intersectRectPerimeterSeg(java.lang.String index, mxRectangle rect)` Utility method to determine within which segment the specified rectangle intersects the specified curve
    `protected int` | mxCurve.`intersectRectPerimeterSeg(java.lang.String index, mxRectangle rect, int startSegment)` Utility method to determine within which segment the specified rectangle intersects the specified curve.
    `mxPoint` | mxCurve.`intersectsRectPerimeter(java.lang.String index, mxRectangle rect)` Returns the point at which this curve intersects the boundary of the given rectangle, if it does so.
    `double` | mxCurve.`intersectsRectPerimeterDist(java.lang.String index, mxRectangle rect)` Returns the distance from the start of the curve at which this curve intersects the boundary of the given rectangle, if it does so.

    Constructors in com.mxgraph.util with parameters of type mxRectangle
    Constructor and Description
    `mxRectangle(mxRectangle rect)` Constructs a copy of the given rectangle.

  - ### Uses of mxRectangle in com.mxgraph.view

    Subclasses of mxRectangle in com.mxgraph.view
    Modifier and Type | Class and Description
    --- | ---
    `class` | `mxCellState` Represents the current state of a cell in a given graph view.

    Fields in com.mxgraph.view declared as mxRectangle
    Modifier and Type | Field and Description
    --- | ---
    `protected mxRectangle` | mxCellState.`boundingBox` Holds the largest rectangle which contains all rendering for this cell.
    `protected mxRectangle` | mxGraphView.`graphBounds` Caches the current bounds of the graph.
    `protected mxRectangle` | mxCellState.`labelBounds` Holds the rectangle which contains the label.
    `protected mxRectangle` | mxGraph.`maximumGraphBounds` that specifies the area in which all cells in the diagram should be placed.
    `protected mxRectangle` | mxGraph.`minimumGraphSize` mxRectangle that specifies the minimum size of the graph canvas inside the scrollpane.
    `protected mxRectangle` | mxTemporaryCellStates.`oldBounds`

    Methods in com.mxgraph.view that return mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `mxRectangle` | mxCellState.`getBoundingBox()` Returns the bounding box.
    `mxRectangle` | mxGraphView.`getBoundingBox(mxCellState state)` Shortcut to validateCell with visible set to true.
    `mxRectangle` | mxGraphView.`getBoundingBox(mxCellState state, boolean recurse)` Returns the bounding box of the shape and the label for the given cell state and its children if recurse is true.
    `mxRectangle` | mxGraph.`getBoundingBox(java.lang.Object cell)` Returns the bounds of the given cell.
    `mxRectangle` | mxGraphView.`getBoundingBox(java.lang.Object[] cells)` Returns the bounding box for an array of cells or null, if no cells are specified.
    `mxRectangle` | mxGraph.`getBoundingBox(java.lang.Object cell, boolean includeEdges)` Returns the bounding box of the given cell including all connected edges if includeEdge is true.
    `mxRectangle` | mxGraph.`getBoundingBox(java.lang.Object cell, boolean includeEdges, boolean includeDescendants)` Returns the bounding box of the given cell including all connected edges if includeEdge is true.
    `mxRectangle` | mxGraph.`getBoundingBoxFromGeometry(java.lang.Object[] cells)` Returns the bounding box for the geometries of the vertices in the given array of cells.
    `mxRectangle` | mxGraphView.`getBounds(java.lang.Object[] cells)` Returns the bounding box for an array of cells or null, if no cells are specified.
    `mxRectangle` | mxGraphView.`getBounds(java.lang.Object[] cells, boolean boundingBox)` Returns the bounding box for an array of cells or null, if no cells are specified.
    `mxRectangle` | mxGraph.`getBoundsForCells(java.lang.Object[] cells, boolean includeEdges, boolean includeDescendants, boolean boundingBox)` Returns the bounds for the given cells.
    `mxRectangle` | mxGraph.`getBoundsForGroup(java.lang.Object group, java.lang.Object[] children, double border)` Returns the bounds to be used for the given group and children.
    `mxRectangle` | mxGraph.`getCellBounds(java.lang.Object cell)` Returns the bounds of the given cell.
    `mxRectangle` | mxGraph.`getCellBounds(java.lang.Object cell, boolean includeEdges)` Returns the bounds of the given cell including all connected edges if includeEdge is true.
    `mxRectangle` | mxGraph.`getCellBounds(java.lang.Object cell, boolean includeEdges, boolean includeDescendants)` Returns the bounds of the given cell including all connected edges if includeEdge is true.
    `mxRectangle` | mxGraph.`getCellBounds(java.lang.Object cell, boolean includeEdges, boolean includeDescendants, boolean boundingBox)` Returns the bounds of the given cell including all connected edges if includeEdge is true.
    `mxRectangle` | mxGraph.`getCellContainmentArea(java.lang.Object cell)` Returns the mxRectangle inside which a cell is to be kept.
    `mxRectangle` | mxGraphView.`getGraphBounds()` Returns the cached diagram bounds.
    `mxRectangle` | mxGraph.`getGraphBounds()` Returns the bounds of the visible graph.
    `mxRectangle` | mxCellState.`getLabelBounds()` Returns the label bounds.
    `mxRectangle` | mxGraph.`getMaximumGraphBounds()`
    `mxRectangle` | mxGraph.`getMinimumGraphSize()` Returns the minimum size of the diagram.
    `mxRectangle` | mxGraph.`getPaintBounds(java.lang.Object[] cells)` Returns the bounding box of the given cells and their descendants.
    `mxRectangle` | mxCellState.`getPerimeterBounds()` Returns the rectangle that should be used as the perimeter of the cell.
    `mxRectangle` | mxCellState.`getPerimeterBounds(double border)` Returns the rectangle that should be used as the perimeter of the cell.
    `mxRectangle` | mxGraphView.`getPerimeterBounds(mxCellState terminal, double border)` Returns the perimeter bounds for the given terminal, edge pair.
    `mxRectangle` | mxGraph.`getPreferredSizeForCell(java.lang.Object cell)` Returns the preferred width and height of the given as an .
    `mxRectangle` | mxGraph.`getStartSize(java.lang.Object swimlane)` Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style.
    `mxRectangle` | mxGraph.`graphModelChanged(mxIGraphModel sender, java.util.List<mxUndoableEdit.mxUndoableChange> changes)` Called when the graph model changes.
    `mxRectangle` | mxGraph.`processChange(mxUndoableEdit.mxUndoableChange change, boolean invalidate, boolean ignoreDirty)` Processes the given change and invalidates the respective cached data in .
    `mxRectangle` | mxGraph.`processChanges(java.util.List<mxUndoableEdit.mxUndoableChange> changes, boolean invalidate, boolean ignoreDirty)` Processes the changes and returns the minimal rectangle to be repainted in the buffer.
    `mxRectangle` | mxGraphView.`updateBoundingBox(mxCellState state)` Updates the bounding box in the given cell state.

    Methods in com.mxgraph.view with parameters of type mxRectangle
    Modifier and Type | Method and Description
    --- | ---
    `mxPoint` | mxPerimeter.mxPerimeterFunction.`apply(mxRectangle bounds, mxCellState vertex, mxPoint next, boolean orthogonal)` Implements a perimeter function.
    `void` | mxGraph.`cellsResized(java.lang.Object[] cells, mxRectangle[] bounds)` Sets the bounds of the given cells and fires a event.
    `void` | mxGraph.`repaint(mxRectangle region)` Fires a repaint event.
    `java.lang.Object` | mxGraph.`resizeCell(java.lang.Object cell, mxRectangle bounds)` Sets the bounds of the given cell using resizeCells.
    `java.lang.Object[]` | mxGraph.`resizeCells(java.lang.Object[] cells, mxRectangle[] bounds)` Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event.
    `void` | mxCellState.`setBoundingBox(mxRectangle boundingBox)` Sets the bounding box.
    `void` | mxGraphView.`setGraphBounds(mxRectangle value)` Sets the graph bounds.
    `void` | mxCellState.`setLabelBounds(mxRectangle labelBounds)` Sets the label bounds.
    `void` | mxGraph.`setMaximumGraphBounds(mxRectangle value)`
    `void` | mxGraph.`setMinimumGraphSize(mxRectangle value)`

Copyright (c) 2010 Gaudenz Alder. All rights reserved.