area.height);
g2.setFont(this.font);
g2.setForeground(this.paint);
TextBlockAnchor anchor = null;
float x = 0.0f;
final HorizontalAlignment horizontalAlignment = this
.getHorizontalAlignment();
if (horizontalAlignment == HorizontalAlignment.LEFT) {
x = titleArea.x;
anchor = TextBlockAnchor.TOP_LEFT;
} else if (horizontalAlignment == HorizontalAlignment.RIGHT) {