net.sourceforge.plantuml.sequencediagram.puma.SegmentPosition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.sequencediagram.puma;
public class SegmentPosition {
final private PSegment segment;
final private double position;
public SegmentPosition(PSegment segment, double position) {
this.segment = segment;
this.position = position;
}
public double getPosition() {
return segment.getPosition(position);
}
public PSegment getSegment() {
return segment;
}
}