/** * Arranges the contents of the block, with no constraints, and returns * the block size. * * @param g2 the graphics device. * * @return The block size (in Java2D units, never {@code null}). */ public Size2D arrange(Graphics2D g2) { return arrange(g2, RectangleConstraint.NONE); }
/** * Arranges the contents of the block, with no constraints, and returns * the block size. * * @param g2 the graphics device. * * @return The block size (in Java2D units, never <code>null</code>). */ public Size2D arrange(Graphics2D g2) { return arrange(g2, RectangleConstraint.NONE); }