Package net.sourceforge.plantuml.svek
Class PortGeometry
- java.lang.Object
-
- net.sourceforge.plantuml.svek.PortGeometry
-
- All Implemented Interfaces:
java.lang.Comparable<PortGeometry>
public final class PortGeometry extends java.lang.Object implements java.lang.Comparable<PortGeometry>
-
-
Constructor Summary
Constructors Constructor Description PortGeometry(java.lang.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()
java.lang.String
getId()
double
getLastY()
double
getPosition()
int
getScore()
java.lang.String
toString()
PortGeometry
translateY(double deltaY)
-
-
-
Method Detail
-
translateY
public PortGeometry translateY(double deltaY)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHeight
public double getHeight()
-
getPosition
public double getPosition()
-
getLastY
public double getLastY()
-
getScore
public int getScore()
-
getId
public java.lang.String getId()
-
compareTo
public int compareTo(PortGeometry other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PortGeometry>
-
-