Skip to content

Commit

Permalink
Whitespace/tab fixes for Line Element
Browse files Browse the repository at this point in the history
  • Loading branch information
gilleain authored and egonw committed Jun 11, 2011
1 parent 1de2e54 commit fed46c1
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions src/main/org/openscience/cdk/renderer/elements/LineElement.java
Expand Up @@ -23,37 +23,37 @@
*/
public class LineElement implements IRenderingElement {

public final double x1;
public final double y1;
public final double x2;
public final double y2;
public final double width;
public final Color color;

public LineElement(double x, double y, double x1, double y1, double width, Color color) {
this.x2 = x;
this.y2 = y;
this.x1 = x1;
this.y1 = y1;
this.width = width;
this.color = color;
}

public void accept(IRenderingVisitor v) {
v.visit(this);
}

public enum LineType {
SINGLE(1), DOUBLE(2), TRIPLE(3), QUADRUPLE(4);

int n;

private LineType(int n) {
this.n = n;
}

public int count() {
return n;
}
}
public final double x1;
public final double y1;
public final double x2;
public final double y2;
public final double width;
public final Color color;

public LineElement(double x, double y, double x1, double y1, double width, Color color) {
this.x2 = x;
this.y2 = y;
this.x1 = x1;
this.y1 = y1;
this.width = width;
this.color = color;
}

public void accept(IRenderingVisitor v) {
v.visit(this);
}

public enum LineType {
SINGLE(1), DOUBLE(2), TRIPLE(3), QUADRUPLE(4);

int n;

private LineType(int n) {
this.n = n;
}

public int count() {
return n;
}
}
}

0 comments on commit fed46c1

Please sign in to comment.