net.sourceforge.plantuml.klimt.drawing.visio.DriverLineVdx 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.klimt.drawing.visio;
import net.sourceforge.plantuml.klimt.UParam;
import net.sourceforge.plantuml.klimt.color.ColorMapper;
import net.sourceforge.plantuml.klimt.drawing.UDriver;
import net.sourceforge.plantuml.klimt.shape.ULine;
public class DriverLineVdx implements UDriver {
public void draw(ULine line, double x, double y, ColorMapper mapper, UParam param, VisioGraphics visio) {
final double dx = line.getDX();
final double dy = line.getDY();
visio.line(x, y, x + dx, y + dy);
}
}