@Override public boolean equals(Object obj){
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof XYAreaRenderer2)) {
    return false;
  }
  XYAreaRenderer2 that=(XYAreaRenderer2)obj;
  if (this.showOutline != that.showOutline) {
    return false;
  }
  if (!ShapeUtilities.equal(this.legendArea,that.legendArea)) {
    return false;
  }
  return super.equals(obj);
}

@ Override public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } if ( ! ( obj instanceof XYAreaRenderer2 ) ) { return false ; } XYAreaRenderer2 that = ( XYAreaRenderer2 ) obj ; if ( this . showOutline != that . showOutline ) { return false ; } if ( ! ShapeUtilities . equal ( this . legendArea , that . legendArea ) ) { return false ; } return super . equals ( obj ) ; }
tests this renderer for equality with an arbitrary object .
