Package net.sourceforge.plantuml.graph2
Class IdentityInflationTransform
- java.lang.Object
-
- net.sourceforge.plantuml.graph2.IdentityInflationTransform
-
- All Implemented Interfaces:
IInflationTransform
public class IdentityInflationTransform extends java.lang.Object implements IInflationTransform
-
-
Constructor Summary
Constructors Constructor Description IdentityInflationTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInflationX(double xpos, double inflation)voidaddInflationY(double ypos, double inflation)doublegetTotalInflationX()doublegetTotalInflationY()java.util.List<java.awt.geom.Line2D.Double>inflate(java.util.Collection<java.awt.geom.Line2D.Double> segments)java.awt.geom.Point2DinflatePoint2D(java.awt.geom.Point2D point)
-
-
-
Method Detail
-
addInflationX
public void addInflationX(double xpos, double inflation)- Specified by:
addInflationXin interfaceIInflationTransform
-
addInflationY
public void addInflationY(double ypos, double inflation)- Specified by:
addInflationYin interfaceIInflationTransform
-
getTotalInflationX
public double getTotalInflationX()
- Specified by:
getTotalInflationXin interfaceIInflationTransform
-
getTotalInflationY
public double getTotalInflationY()
- Specified by:
getTotalInflationYin interfaceIInflationTransform
-
inflatePoint2D
public java.awt.geom.Point2D inflatePoint2D(java.awt.geom.Point2D point)
- Specified by:
inflatePoint2Din interfaceIInflationTransform
-
inflate
public java.util.List<java.awt.geom.Line2D.Double> inflate(java.util.Collection<java.awt.geom.Line2D.Double> segments)
- Specified by:
inflatein interfaceIInflationTransform
-
-