/**
* The object that represents the shape (outline) of the fin. This gets drawn onto the Swing component.
*/
- private GeneralPath polygon = null;
+ protected GeneralPath polygon = null;
/**
* The X margin.
setSize(maxX - minX + marginX, maxY - minY + marginY);
}
+ /**
+ * Get the X-axis margin value.
+ *
+ * @return margin, in points
+ */
+ protected double getMarginX () {
+ return marginX;
+ }
+
+ /**
+ * Get the Y-axis margin value.
+ *
+ * @return margin, in points
+ */
+ protected double getMarginY () {
+ return marginY;
+ }
+
/**
* From the java.awt.print.Printable interface.
* <p/>