double tileSize = 0.25;//size of tiles in the fill
  
Rectangle2D.Double anchor = 
 new Rectangle2D.Double(
                                 0,0,(int)(tileSize*ds),
                                     (int)(tileSize*ds));

Figure 9