public void fill(Shape s){
  try {
    shapepipe.fill(this,s);
  }
 catch (  InvalidPipeException e) {
    try {
      revalidateAll();
      shapepipe.fill(this,s);
    }
 catch (    InvalidPipeException e2) {
    }
  }
 finally {
    surfaceData.markDirty();
  }
}

public void fill ( Shape s ) { try { shapepipe . fill ( this , s ) ; } catch ( InvalidPipeException e ) { try { revalidateAll ( ) ; shapepipe . fill ( this , s ) ; } catch ( InvalidPipeException e2 ) { } } finally { surfaceData . markDirty ( ) ; } }
fills the interior of a path using the settings of the current graphics state . the rendering attributes applied include the clip , transform , paint or color , and composite .
