public void addArea(AttributeSet as){
  if (as == null) {
    return;
  }
  if (areaAttributes == null) {
    areaAttributes=new Vector<AttributeSet>(2);
  }
  areaAttributes.addElement(as.copyAttributes());
}

public void addArea ( AttributeSet as ) { if ( as == null ) { return ; } if ( areaAttributes == null ) { areaAttributes = new Vector < AttributeSet > ( 2 ) ; } areaAttributes . addElement ( as . copyAttributes ( ) ) ; }
defines a region of the map , based on the passed in attributeset .
