Code example for Paint

Methods: set

0
	 *  
	 * @param paint 
	 *           the new paint 
	 */ 
	public void setPaint( Paint paint ) {
		mPaint.set( paint );
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see android.widget.ImageView#onDraw(android.graphics.Canvas) 
	 */ 
	@Override 
	protected void onDraw( Canvas canvas ) {
		super.onDraw( canvas );
		canvas.drawPath( tmpPath, mPaint );
	} 
 
	public RectF getImageRect() {
		if ( getDrawable() != null ) {