area.height);
g2.setFont(this.font);
g2.setForeground(this.paint);
TextBlockAnchor anchor = null;
float y = 0.0f;
final VerticalAlignment verticalAlignment = this.getVerticalAlignment();
if (verticalAlignment == VerticalAlignment.TOP) {
y = titleArea.y;
anchor = TextBlockAnchor.TOP_RIGHT;
} else if (verticalAlignment == VerticalAlignment.BOTTOM) {
y = (titleArea.y + titleArea.height);