public void setLinePaint(Paint linePaint) {
        if (linePaint == null) {
            throw new AssertionError("Line Paint can not be null");
        }
        this.linePaint = linePaint;
        setLineStrokeWidth(linePaint.getStrokeWidth());
    }
public void setLinePaint(Paint linePaint) {
        if (linePaint == null) {
            throw new AssertionError("Line Paint can not be null");
        }
        this.linePaint = linePaint;
        setLineStrokeWidth(linePaint.getStrokeWidth());
    }
public void setLinePaint ( Paint linePaint ) { if ( linePaint == null ) { throw new AssertionError ( "Line Paint can not be null" ) ; } this . linePaint = linePaint ; setLineStrokeWidth ( linePaint . getStrokeWidth ( ) ) ; }
Set the line paint

@param linePaint line paint
Set the line paint