Code example for Path

Methods: addCircleisEmptyreset

0
 
			// draw cursor 
			cursorpaint.setColor(Color.BLACK);
			cursorpaint.setStyle(Style.STROKE);
			cursorpaint.setStrokeWidth(4);
			cursor.reset();
			cursor.addCircle(cursorx, cursory, 7, Path.Direction.CCW);
			if (!cursor.isEmpty()) {
				canvas.drawPath(cursor, cursorpaint);
			} 
		} 
	} 
 
	@Override 
	public boolean onTouchEvent(MotionEvent event) {
 
		if (!isEnabled()) {
			return false; 
		} 
 
Connect your IDE to all the code out there  Get Codota for Java