Skip to content

Commit

Permalink
Made two more methods private that are not required by the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed May 19, 2012
1 parent a72cba1 commit 8899eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -110,7 +110,7 @@ public IRenderingElement generate(IReaction reaction, RendererModel model) {
* @param model the renderer model * @param model the renderer model
* @return a double in chem-model space * @return a double in chem-model space
*/ */
public double getWidthForMappingLine(RendererModel model) { private double getWidthForMappingLine(RendererModel model) {
double scale = model.getParameter(Scale.class).getValue(); double scale = model.getParameter(Scale.class).getValue();
return mappingLineWidth.getValue() / scale; return mappingLineWidth.getValue() / scale;
} }
Expand Down
Expand Up @@ -78,7 +78,7 @@ public IRenderingElement generate(IReaction reaction, RendererModel model) {
return diagram; return diagram;
} }


public TextElement makePlus( private TextElement makePlus(
Rectangle2D a, Rectangle2D b, double axis, Color color) { Rectangle2D a, Rectangle2D b, double axis, Color color) {
double x = (a.getCenterX() + b.getCenterX()) / 2; double x = (a.getCenterX() + b.getCenterX()) / 2;
return new TextElement(x, axis, "+", color); return new TextElement(x, axis, "+", color);
Expand Down

0 comments on commit 8899eaf

Please sign in to comment.