Code example for TextPaint

Methods: setAntiAliassetColorsetTextSize

0
		mTextPaint.setAntiAlias(true);
		mTextPaint.setTextSize(16);
		mTextPaint.setColor(0xFF000000);
		 
		// The shadow 
		mTextPaintShadow = new TextPaint();
		mTextPaintShadow.setAntiAlias(true);
		mTextPaintShadow.setTextSize(16);
		mTextPaintShadow.setColor(0x00000000);
		 
		// Base padding 
		//setPadding(3, 3, 3, 3); 
		 
		mMovement =  new Vector2D(0,0);
		 
		mOldMovement = new Vector2D(0,0);				
		 
		// Create our edge paint 
		mCurlEdgePaint = new Paint();		
		mCurlEdgePaint.setAntiAlias(true);
Stop searching for code, let great code find you!  Add Codota to your java IDE