All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.plantuml.PlainStringsDiagram Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml;

import static net.sourceforge.plantuml.klimt.shape.GraphicStrings.createBlackOnWhite;

import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.List;

import net.sourceforge.plantuml.core.UmlSource;
import net.sourceforge.plantuml.klimt.geom.GraphicPosition;
import net.sourceforge.plantuml.klimt.shape.UDrawable;

public abstract class PlainStringsDiagram extends PlainDiagram {
	// ::remove file when __HAXE__

	protected BufferedImage image = null;
	protected GraphicPosition imagePosition = null;

	protected final List strings = new ArrayList<>();

	public PlainStringsDiagram(UmlSource source) {
		super(source);
	}

	@Override
	public UDrawable getRootDrawable(FileFormatOption fileFormatOption) {
		return createBlackOnWhite(strings, image, imagePosition);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy