17991800180118021803180418051806180718081809
{ mxRectangle bounds = state; if (center) { bounds = (mxRectangle) bounds.clone(); bounds.setX(bounds.getCenterX() - getWidth() / 2); bounds.setWidth(getWidth()); bounds.setY(bounds.getCenterY() - getHeight() / 2); bounds.setHeight(getHeight());
18211822182318241825182618271828182918301831
424425426427428429430431432433434
vertexMap.put(vertices[i], new Integer(i)); bounds = getVertexBounds(vertices[i]); if (totalBounds == null) { totalBounds = (mxRectangle) bounds.clone(); } else { totalBounds.add(bounds); }
362363364365366367368369370371372
mxRectangle alt = getAlternateBounds(); if (alt != null) { setAlternateBounds((mxRectangle) alt.clone()); } return clone; }
17711772177317741775177617771778177917801781
363364365366367368369370371372373