Code example for Paint

Methods: setColor, setDither, setFilterBitmap, setStrokeCap, setStyle

0
	 * @see it.sephiroth.android.library.imagezoom.ImageViewTouch#init() 
	 */ 
	@Override 
	protected void init() { 
		super.init(); 
		mPaint = new Paint( Paint.ANTI_ALIAS_FLAG );
		mPaint.setFilterBitmap( false );
		mPaint.setDither( true );
		mPaint.setColor( 0x66FFFFCC );
		mPaint.setStyle( Paint.Style.STROKE );
		mPaint.setStrokeCap( Paint.Cap.ROUND );
		tmpPath = new Path();
	} 
 
	public void setDrawLimit( double value ) {
		mRestiction = value;
	} 
 
	/** 
	 * Sets the brush size. 
	 *