Class FtileGeometry
- java.lang.Object
-
- java.awt.geom.Dimension2D
-
- net.sourceforge.plantuml.activitydiagram3.ftile.FtileGeometry
-
- All Implemented Interfaces:
java.lang.Cloneable
public class FtileGeometry extends java.awt.geom.Dimension2D
-
-
Constructor Summary
Constructors Constructor Description FtileGeometry(double width, double height, double left, double inY)FtileGeometry(double width, double height, double left, double inY, double outY)FtileGeometry(java.awt.geom.Dimension2D dim, double left, double inY)FtileGeometry(java.awt.geom.Dimension2D dim, double left, double inY, double outY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FtileGeometryaddDim(double deltaWidth, double deltaHeight)FtileGeometryaddMarginX(double marginx)FtileGeometryaddMarginX(double margin1, double margin2)FtileGeometryappendBottom(FtileGeometry other)FtileGeometryensureHeight(double newHeight)FtileGeometryfixedHeight(double fixedHeight)doublegetHeight()doublegetInY()doublegetLeft()doublegetOutY()java.awt.geom.Point2DgetPointIn()java.awt.geom.Point2DgetPointOut()doublegetWidth()booleanhasPointOut()FtileGeometryincHeight(double northHeight)voidsetSize(double width, double height)java.lang.StringtoString()FtileGeometrytranslate(UTranslate translate)FtileGeometrywithoutPointOut()
-
-
-
Constructor Detail
-
FtileGeometry
public FtileGeometry(java.awt.geom.Dimension2D dim, double left, double inY)
-
FtileGeometry
public FtileGeometry(double width, double height, double left, double inY)
-
FtileGeometry
public FtileGeometry(double width, double height, double left, double inY, double outY)
-
FtileGeometry
public FtileGeometry(java.awt.geom.Dimension2D dim, double left, double inY, double outY)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setSize
public void setSize(double width, double height)- Specified by:
setSizein classjava.awt.geom.Dimension2D
-
incHeight
public FtileGeometry incHeight(double northHeight)
-
hasPointOut
public boolean hasPointOut()
-
getPointIn
public java.awt.geom.Point2D getPointIn()
-
getPointOut
public java.awt.geom.Point2D getPointOut()
-
withoutPointOut
public FtileGeometry withoutPointOut()
-
translate
public FtileGeometry translate(UTranslate translate)
-
getInY
public final double getInY()
-
getLeft
public final double getLeft()
-
getOutY
public double getOutY()
-
getWidth
public final double getWidth()
- Specified by:
getWidthin classjava.awt.geom.Dimension2D
-
getHeight
public final double getHeight()
- Specified by:
getHeightin classjava.awt.geom.Dimension2D
-
addDim
public FtileGeometry addDim(double deltaWidth, double deltaHeight)
-
addMarginX
public FtileGeometry addMarginX(double marginx)
-
addMarginX
public FtileGeometry addMarginX(double margin1, double margin2)
-
fixedHeight
public FtileGeometry fixedHeight(double fixedHeight)
-
appendBottom
public FtileGeometry appendBottom(FtileGeometry other)
-
ensureHeight
public FtileGeometry ensureHeight(double newHeight)
-
-