Code example for DashPathEffect

0
 
	/** 
	 * Dashed, Red, Width=2; 
	 */ 
	public void initDefaultPaint() { 
		this.mPaint.setPathEffect(new DashPathEffect(new float[]{10,5}, 0));
		this.mPaint.setStyle(Style.STROKE);
		this.mPaint.setStrokeWidth(2);
		this.mPaint.setColor(Color.RED);
		this.mPaint.setAntiAlias(false);
	} 
 
	public BoundingBoxE6 getBoundingBoxE6() { 
		return this.mBoundingBox;
	} 
 
	public void setBoundingBoxE6(final BoundingBoxE6 pBoundingBoxE6) {
		this.mBoundingBox = pBoundingBoxE6;
	} 
 
	// ===========================================================