![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.braille.DriverCenteredCharacterBraille 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.braille;
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.UCenteredCharacter;
public class DriverCenteredCharacterBraille implements UDriver {
public void draw(UCenteredCharacter characterCircled, double x, double y, ColorMapper mapper, UParam param,
BrailleGrid grid) {
final double xpos = x;
final double ypos = y;
final BrailleChar bchar = BrailleCharFactory.build("" + characterCircled.getChar()).get(0);
bchar.draw(grid, xpos, ypos);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy