Code example for Paint

Methods: setARGB, setAntiAlias, setStrokeWidth, setStyle

0
	private void initProperties() { 
		innerPaint = new Paint();
		innerPaint.setARGB(225, 75, 75, 75);
		innerPaint.setAntiAlias(true);
 
		borderPaint = new Paint();
		borderPaint.setARGB(255, 255, 255, 255);
		borderPaint.setAntiAlias(true);
		borderPaint.setStyle(Style.STROKE);
		borderPaint.setStrokeWidth(2);
	} 
	 
	/** 
	 * Sets the inner paint. 
	 *  
	 * @param innerPaint the new inner paint 
	 */ 
	public void setInnerPaint(Paint innerPaint) {
		this.innerPaint = innerPaint;
	}