Merge branch 'develop' into features/JAL-4134_use_annotation_row_for_colours_and_groups
[jalview.git] / src / jalview / util / imagemaker / BitmapImageSizing.java
diff --git a/src/jalview/util/imagemaker/BitmapImageSizing.java b/src/jalview/util/imagemaker/BitmapImageSizing.java
new file mode 100644 (file)
index 0000000..312b834
--- /dev/null
@@ -0,0 +1,22 @@
+package jalview.util.imagemaker;
+
+public class BitmapImageSizing
+{
+  public final float scale;
+
+  public final int width;
+
+  public final int height;
+
+  public BitmapImageSizing(float scale, int width, int height)
+  {
+    this.scale = scale;
+    this.width = width;
+    this.height = height;
+  }
+
+  public static BitmapImageSizing nullBitmapImageSizing()
+  {
+    return new BitmapImageSizing(0.0f, 0, 0);
+  }
+}