Rectangle.setSize
Class Overview | Class Members | 
  This Package | 
All Packages
 public void setSize( Dimension d )
Parameters
-  d 
-  the new size for the Dimension object
    
Description
 Sets the size of this rectangle to match the specified dimension.
 
 This method is included for completeness, to parallel the
 setSize method of Component.
  
See Also
     setSize
  
 public void setSize( int width,
                     int height )
Parameters
-  width 
-  the new width for this rectangle object.
    
-  height 
-  the new height for this rectangle object.
    
Description
 Sets the size of this rectangle to the specified width and height.
 
 This method is included for completeness, to parallel the
 setSize method of Component.
  
See Also
     setSize