net.sourceforge.plantuml.graph2
Class IdentityInflationTransform

java.lang.Object
  extended by net.sourceforge.plantuml.graph2.IdentityInflationTransform
All Implemented Interfaces:
IInflationTransform

public class IdentityInflationTransform
extends Object
implements IInflationTransform


Constructor Summary
IdentityInflationTransform()
           
 
Method Summary
 void addInflationX(double xpos, double inflation)
           
 void addInflationY(double ypos, double inflation)
           
 double getTotalInflationX()
           
 double getTotalInflationY()
           
 List<Line2D.Double> inflate(Collection<Line2D.Double> segments)
           
 Point2D inflatePoint2D(Point2D point)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityInflationTransform

public IdentityInflationTransform()
Method Detail

addInflationX

public void addInflationX(double xpos,
                          double inflation)
Specified by:
addInflationX in interface IInflationTransform

addInflationY

public void addInflationY(double ypos,
                          double inflation)
Specified by:
addInflationY in interface IInflationTransform

getTotalInflationX

public double getTotalInflationX()
Specified by:
getTotalInflationX in interface IInflationTransform

getTotalInflationY

public double getTotalInflationY()
Specified by:
getTotalInflationY in interface IInflationTransform

inflatePoint2D

public Point2D inflatePoint2D(Point2D point)
Specified by:
inflatePoint2D in interface IInflationTransform

inflate

public List<Line2D.Double> inflate(Collection<Line2D.Double> segments)
Specified by:
inflate in interface IInflationTransform


Copyright © 2013. All Rights Reserved.