|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.geometry.Dimension
org.eclipse.draw2d.geometry.PrecisionDimension
Field Summary | |
double |
preciseHeight
The height in double precision. |
double |
preciseWidth
The width in double precision. |
Fields inherited from class org.eclipse.draw2d.geometry.Dimension |
height, SINGLETON, width |
Constructor Summary | |
PrecisionDimension()
Constructs a new precision dimension. |
|
PrecisionDimension(Dimension d)
Constructs a precision representation of the given dimension. |
|
PrecisionDimension(double width,
double height)
Constructs a new precision dimension with the given values. |
Method Summary | |
void |
performScale(double factor)
Scales this object by the scale factor. |
void |
updateInts()
Updates the integer fields using the precise versions. |
Methods inherited from class org.eclipse.draw2d.geometry.Dimension |
contains, containsProper, equals, equals, expand, expand, expand, getArea, getCopy, getDifference, getExpanded, getExpanded, getIntersected, getNegated, getScaled, getTransposed, getUnioned, hashCode, intersect, isEmpty, negate, performTranslate, scale, scale, setSize, shrink, toString, transpose, union |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public double preciseWidth
public double preciseHeight
Constructor Detail |
public PrecisionDimension()
public PrecisionDimension(double width, double height)
width
- the widthheight
- the heightpublic PrecisionDimension(Dimension d)
d
- the reference dimensionMethod Detail |
public void performScale(double factor)
Translatable
performScale
in interface Translatable
performScale
in class Dimension
Dimension.performScale(double)
public final void updateInts()
|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |