Package net.sourceforge.plantuml.svek
Class PortGeometry
- java.lang.Object
-
- net.sourceforge.plantuml.svek.PortGeometry
-
- All Implemented Interfaces:
Comparable<PortGeometry>
public final class PortGeometry extends Object implements Comparable<PortGeometry>
-
-
Constructor Summary
Constructors Constructor Description PortGeometry(String id, double position, double height, int score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PortGeometry other)
double
getHeight()
String
getId()
double
getLastY()
double
getPosition()
int
getScore()
String
toString()
PortGeometry
translateY(double deltaY)
-
-
-
Constructor Detail
-
PortGeometry
public PortGeometry(String id, double position, double height, int score)
-
-
Method Detail
-
translateY
public PortGeometry translateY(double deltaY)
-
getHeight
public double getHeight()
-
getPosition
public double getPosition()
-
getLastY
public double getLastY()
-
getScore
public int getScore()
-
getId
public String getId()
-
compareTo
public int compareTo(PortGeometry other)
- Specified by:
compareTo
in interfaceComparable<PortGeometry>
-
-