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, setSize
public Dimension2DDouble()
public Dimension2DDouble(double width, double height)
width
- initial widthheight
- initial heightpublic double getWidth()
getWidth
in class Dimension2D
public double getHeight()
getHeight
in class Dimension2D
public void setSize(double w, double h)
setSize
in class Dimension2D
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.