net.sourceforge.plantuml.graph2
Class InflationTransform2

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

public class InflationTransform2
extends Object
implements IInflationTransform


Constructor Summary
InflationTransform2()
           
 
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)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InflationTransform2

public InflationTransform2()
Method Detail

addInflationX

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

toString

public String toString()
Overrides:
toString in class Object

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 © 2014. All Rights Reserved.