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 void
addInflationX(double xpos, double inflation)
void
addInflationY(double ypos, double inflation)
double
getTotalInflationX()
double
getTotalInflationY()
java.util.List<java.awt.geom.Line2D.Double>
inflate(java.util.Collection<java.awt.geom.Line2D.Double> segments)
java.awt.geom.Point2D
inflatePoint2D(java.awt.geom.Point2D point)
-
-
-
Method Detail
-
addInflationX
public void addInflationX(double xpos, double inflation)
- Specified by:
addInflationX
in interfaceIInflationTransform
-
addInflationY
public void addInflationY(double ypos, double inflation)
- Specified by:
addInflationY
in interfaceIInflationTransform
-
getTotalInflationX
public double getTotalInflationX()
- Specified by:
getTotalInflationX
in interfaceIInflationTransform
-
getTotalInflationY
public double getTotalInflationY()
- Specified by:
getTotalInflationY
in interfaceIInflationTransform
-
inflatePoint2D
public java.awt.geom.Point2D inflatePoint2D(java.awt.geom.Point2D point)
- Specified by:
inflatePoint2D
in interfaceIInflationTransform
-
inflate
public java.util.List<java.awt.geom.Line2D.Double> inflate(java.util.Collection<java.awt.geom.Line2D.Double> segments)
- Specified by:
inflate
in interfaceIInflationTransform
-
-