private void initializePaint ( ) { paint = new Paint ( ) ; paint . setAntiAlias ( true ) ; paint . setStyle ( Paint . Style . STROKE ) ; paint . setStrokeWidth ( getThickness ( ) ) ; paint . setColor ( getColor ( ) ) ; }
Initializes the paint which is used for drawing .