Package net.sourceforge.plantuml
Class Dimension2DDouble
java.lang.Object
java.awt.geom.Dimension2D
net.sourceforge.plantuml.Dimension2DDouble
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
ConstructorsConstructorDescriptionDimension2DDouble(double width, double height) Dimension2DDouble(Point2D point) -
Method Summary
Modifier and TypeMethodDescriptionstatic Dimension2DatLeast(Dimension2D dim, double minWidth, double minHeight) static Dimension2Ddelta(Dimension2D dim, double delta) static Dimension2Ddelta(Dimension2D dim, double deltaWidth, double deltaHeight) doubledoublegetWidth()static Dimension2Dmax(Dimension2D dim1, Dimension2D dim2) static Dimension2DmergeLayoutT12B3(Dimension2D top1, Dimension2D top2, Dimension2D bottom) static Dimension2DmergeLR(Dimension2D left, Dimension2D right) static Dimension2DmergeTB(Dimension2D top, Dimension2D bottom) static Dimension2DmergeTB(Dimension2D a, Dimension2D b, Dimension2D c) voidsetSize(double width, double height) toString()withWidth(double newWidth) Methods inherited from class java.awt.geom.Dimension2D
clone, setSize
-
Constructor Details
-
Dimension2DDouble
public Dimension2DDouble(double width, double height) -
Dimension2DDouble
-
-
Method Details
-
toString
-
getHeight
public double getHeight()- Specified by:
getHeightin classDimension2D
-
getWidth
public double getWidth()- Specified by:
getWidthin classDimension2D
-
setSize
public void setSize(double width, double height) - Specified by:
setSizein classDimension2D
-
delta
-
withWidth
-
delta
-
mergeTB
-
mergeTB
-
mergeLR
-
mergeLayoutT12B3
-
max
-
atLeast
-