area = this.trimMargin(area);
this.drawBorder(g2, area);
if (this.text.equals("")) {
return null;
}
ChartEntity entity = null;
if (params instanceof EntityBlockParams) {
final EntityBlockParams p = (EntityBlockParams) params;
if (p.getGenerateEntities()) {
entity = new ChartEntity(area, this.toolTipText, this.urlText);
}
}
area = this.trimBorder(area);
if (this.backgroundPaint != null) {
g2.setForeground(this.backgroundPaint);