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