|
Eclipse Draw2d 3.0.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. |
|
| 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)
public PrecisionDimension(Dimension d)
d - the reference dimension| Method Detail |
public void performScale(double factor)
Translatable
performScale in interface TranslatableperformScale in class DimensionDimension.performScale(double)public final void updateInts()
|
Eclipse Draw2d 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||