public class Dimension2DDouble extends Dimension2D implements Serializable
| Constructor and Description |
|---|
Dimension2DDouble()
Default constructor.
|
Dimension2DDouble(double width,
double height)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
double |
getHeight() |
double |
getWidth() |
int |
hashCode() |
void |
setSize(double w,
double h) |
String |
toString() |
clone, setSizepublic Dimension2DDouble()
public Dimension2DDouble(double width,
double height)
width - initial widthheight - initial heightpublic double getWidth()
getWidth in class Dimension2Dpublic double getHeight()
getHeight in class Dimension2Dpublic void setSize(double w,
double h)
setSize in class Dimension2DCopyright © 2025 Apache Software Foundation. All rights reserved.