public class EDimension
extends java.awt.geom.Dimension2D
implements java.io.Serializable
FixpCoord.SIZE_GRID
.Constructor and Description |
---|
EDimension(double width,
double height)
Constructor to build an EDimension.
|
EDimension(ECoord width,
ECoord height)
Constructor to build an EDimension.
|
Modifier and Type | Method and Description |
---|---|
ECoord |
getCoordHeight()
Method to return the Y size of this EDimension.
|
ECoord |
getCoordWidth()
Method to return the X size of this EDimension.
|
long |
getFixpHeight()
Method to return the Y size of this EDimension.
|
long |
getFixpWidth()
Method to return the X size of this EDimension.
|
long |
getGridHeight()
Method to return the Y size of this EDimension.
|
long |
getGridWidth()
Method to return the X size of this EDimension.
|
double |
getHeight()
Method to return the Y size of this EDimension.
|
double |
getLambdaHeight()
Method to return the Y size of this EDimension.
|
double |
getLambdaWidth()
Method to return the X size of this EDimension.
|
double |
getWidth()
Method to return the X size of this EDimension.
|
void |
setSize(java.awt.geom.Dimension2D d)
Method to set the size of this EDimension.
|
void |
setSize(double width,
double height)
Method to set the size of this EDimension.
|
java.lang.String |
toString()
Returns a printable version of this EDimension.
|
public EDimension(double width, double height)
width
- the width of this EDimension.height
- the height of this EDimension.public double getWidth()
getWidth
in class java.awt.geom.Dimension2D
public double getHeight()
getHeight
in class java.awt.geom.Dimension2D
public ECoord getCoordWidth()
public ECoord getCoordHeight()
public double getLambdaWidth()
public double getLambdaHeight()
public long getFixpWidth()
public long getFixpHeight()
public long getGridWidth()
public long getGridHeight()
public void setSize(java.awt.geom.Dimension2D d)
setSize
in class java.awt.geom.Dimension2D
public void setSize(double width, double height)
setSize
in class java.awt.geom.Dimension2D
public java.lang.String toString()
toString
in class java.lang.Object