net.sourceforge.plantuml.api.ImageDataAbstract 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.api;
import net.sourceforge.plantuml.core.ImageData;
import net.sourceforge.plantuml.klimt.geom.XDimension2D;
public abstract class ImageDataAbstract implements ImageData {
private final int width;
private final int height;
private int status;
public ImageDataAbstract(int width, int height) {
this.width = width;
this.height = height;
}
public ImageDataAbstract(XDimension2D dim) {
this((int) dim.getWidth(), (int) dim.getHeight());
}
public final int getWidth() {
return width;
}
public final int getHeight() {
return height;
}
public final int getStatus() {
return status;
}
public final void setStatus(int status) {
this.status = status;
}
}