Back to project page E-Paper.
The source code is released under:
GNU General Public License
If you think the Android project E-Paper listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.epaper.brush; //from w w w.j a va 2 s.c o m import android.graphics.Path; public class PenBrush extends Brush { @Override public void mouseDown(Path path, float x, float y) { path.moveTo(x + EPS, y + EPS); path.lineTo(x, y); } @Override public void mouseMove(Path path, float x, float y) { path.lineTo(x, y); } @Override public void mouseUp(Path path, float x, float y) { path.lineTo(x, y); } }