}
final RectangleConstraint constraint = new RectangleConstraint(ww,
new Range(0.0, ww), LengthConstraintType.RANGE, hh, new Range(
0.0, hh), LengthConstraintType.RANGE);
Object retValue = null;
final BlockParams p = new BlockParams();
p.setGenerateEntities(entities);
if (position == RectangleEdge.TOP) {
final Size2D size = t.arrange(g2, constraint);
titleArea = this.createAlignedRectangle2D(size, area, t
.getHorizontalAlignment(), VerticalAlignment.TOP);
retValue = t.draw(g2, titleArea, p);