예제 #1
0
 // Graphics2D g=getG();return g==null?null:g.getClipBounds();}
 public Rectangle getClipBounds(Rectangle r) {
   Shape s = bufferClip();
   if (s == null) return null;
   r.setBounds(bufferClip().getBounds());
   return r;
 }
예제 #2
0
 /**
  * This returns the full current drawing area
  *
  * @return full drawing area
  */
 public Rectangle getClipBounds(Rectangle r) {
   r.setBounds(0, 0, m_extent.width, m_extent.height);
   return r;
 }