Dimension.Dimension
Class Overview | Class Members |
This Package |
All Packages
public Dimension()
Description
Creates an instance of Dimension with a width
of zero and a height of zero.
public Dimension( Dimension d )
Parameters
- d
- the specified dimension for the
width and
height values.
Description
Creates an instance of Dimension whose width
and height are the same as for the specified dimension.
public Dimension( int width,
int height )
Parameters
- width
- the specified width dimension
- height
- the specified height dimension
Description
Constructs a Dimension and initializes it to the specified width and
specified height.