* to fit in the width of the chosen page size.
*/
public class PrintFigure extends RocketFigure {
-
- /**
- * Constructor.
- *
- * @param configuration the configuration
- */
- public PrintFigure (final Configuration configuration) {
- super(configuration);
- }
-
- protected double computeTy (int heightPx) {
- super.computeTy(heightPx);
- return 0;
- }
-
- public void setScale (final double theScale) {
- this.scale = theScale; //dpi/0.0254*scaling;
- updateFigure();
- }
+
+ /**
+ * Constructor.
+ *
+ * @param configuration the configuration
+ */
+ public PrintFigure(final Configuration configuration) {
+ super(configuration);
+ }
+
+ @Override
+ protected double computeTy(int heightPx) {
+ super.computeTy(heightPx);
+ return 0;
+ }
+
+ public void setScale(final double theScale) {
+ this.scale = theScale; //dpi/0.0254*scaling;
+ updateFigure();
+ }
}