1
0
mirror of https://github.com/octoleo/plantuml.git synced 2025-01-09 09:50:35 +00:00

Merge pull request #510 from matthew16550/imagedatacomplex

Undelete ImageDataComplex constructor that was accidentally removed from net.sourceforge.plantuml.api
This commit is contained in:
arnaudroques 2021-03-28 12:31:05 +02:00 committed by GitHub
commit 8496f821ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,13 @@ public class ImageDataComplex extends ImageDataAbstract {
private final CMapData cmap;
private final String warningOrError;
@SuppressWarnings("unused") // available publicly so retained for backwards compatibility
public ImageDataComplex(Dimension2D info, CMapData cmap, String warningOrError) {
super(info);
this.cmap = cmap;
this.warningOrError = warningOrError;
}
public ImageDataComplex(Dimension2D info, CMapData cmap, String warningOrError, int status) {
super(info);
this.cmap = cmap;