@Override public final void appendRectangle(final float x,final float y,final float w,final float h){
  moveTo(x,y);
  lineTo(x + w,y);
  lineTo(x + w,y + h);
  lineTo(x,y + h);
  lineTo(x,y);
  closeShape();
  metrics.incrementRectangleCount();
}

@ Override public final void appendRectangle ( final float x , final float y , final float w , final float h ) { moveTo ( x , y ) ; lineTo ( x + w , y ) ; lineTo ( x + w , y + h ) ; lineTo ( x , y + h ) ; lineTo ( x , y ) ; closeShape ( ) ; metrics . incrementRectangleCount ( ) ; }
add a rectangle to set of shapes
