Class Segment
- java.lang.Object
-
- net.sourceforge.plantuml.sequencediagram.graphic.Segment
-
public class Segment extends Object
-
-
Constructor Summary
Constructors Constructor Description Segment(double pos1, double pos2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(double y)
boolean
contains(Segment other)
Collection<Segment>
cutSegmentIfNeed(Collection<Segment> allDelays)
boolean
equals(Object obj)
double
getLength()
double
getPos1()
double
getPos2()
int
hashCode()
Segment
merge(Segment this2)
String
toString()
-
-
-
Method Detail
-
contains
public final boolean contains(double y)
-
contains
public final boolean contains(Segment other)
-
getLength
public final double getLength()
-
getPos1
public final double getPos1()
-
getPos2
public final double getPos2()
-
cutSegmentIfNeed
public Collection<Segment> cutSegmentIfNeed(Collection<Segment> allDelays)
-
-