|
|
@ -54,7 +54,7 @@ public class LineSpan extends ReplacementSpan {
|
|
|
|
paint.setStrokeWidth(strokeWidth);
|
|
|
|
paint.setStrokeWidth(strokeWidth);
|
|
|
|
if (dashLength != 0)
|
|
|
|
if (dashLength != 0)
|
|
|
|
paint.setPathEffect(new DashPathEffect(new float[]{dashLength, dashLength}, 0));
|
|
|
|
paint.setPathEffect(new DashPathEffect(new float[]{dashLength, dashLength}, 0));
|
|
|
|
canvas.drawLine(0, ypos, canvas.getWidth(), ypos, paint);
|
|
|
|
canvas.drawLine(x, ypos, canvas.getWidth(), ypos, paint);
|
|
|
|
paint.setColor(c);
|
|
|
|
paint.setColor(c);
|
|
|
|
paint.setStrokeWidth(s);
|
|
|
|
paint.setStrokeWidth(s);
|
|
|
|
paint.setPathEffect(p);
|
|
|
|
paint.setPathEffect(p);
|
|
|
|