This commit is contained in:
Hannes Janetzek
2013-02-24 10:20:58 +01:00
parent aaafe0cddc
commit 54d3fe332b
4 changed files with 12 additions and 7 deletions

View File

@@ -172,7 +172,9 @@ public final class Line extends RenderInstruction {
public final float[] stippleColor;
public final float stippleWidth;
private Line(int level, String style, float[] stroke, float width,
private Line(int level, String style, float[] color, float width,
Cap cap, boolean fixed,
int stipple, float[] stippleColor, float stippleWidth,
int fade, float blur, boolean isOutline, float min) {
@@ -194,8 +196,10 @@ public final class Line extends RenderInstruction {
// paint.setPathEffect(new DashPathEffect(strokeDasharray, 0));
// }
//GlUtils.changeSaturation(color, 1.02f);
this.cap = cap;
this.color = stroke;
this.color = color;
this.width = width;
this.fixed = fixed;
@@ -235,7 +239,7 @@ public final class Line extends RenderInstruction {
this.fade = -1;
this.stipple = stipple;
this.stippleColor = null;
this.stippleWidth = 0;
this.stippleWidth = 0.6f;
this.min = 0;
color = GlUtils.colorToFloatP(stroke);
}
@@ -250,5 +254,4 @@ public final class Line extends RenderInstruction {
// paint.setStrokeWidth(strokeWidth * scaleFactor);
// }
}