Example #1
0
 /**
  * Schedule a repaint of the figure within the given damage region. This default implementation
  * forwards the damage region to this figure's parent. See the nullary version of this method.
  */
 public void repaint(DamageRegion d) {
   if (_parent != null) {
     _parent.repaint(d);
   }
 }