*/
public double getScaling();
-
+
/**
* Return the scale of the figure on px/m.
*
*/
public double getAbsoluteScale();
-
+
/**
* Return the pixel coordinates of the figure origin.
*
*/
public Dimension getOrigin();
+
+ /**
+ * Get the amount of blank space left around the figure.
+ *
+ * @return the amount of horizontal and vertical space left on both sides of the figure.
+ */
+ public Dimension getBorderPixels();
+
+ /**
+ * Set the amount of blank space left around the figure.
+ *
+ * @param width the amount of horizontal space left on both sides of the figure.
+ * @param height the amount of vertical space left on both sides of the figure.
+ */
+ public void setBorderPixels(int width, int height);
}