Back to project page Sketcher.
The source code is released under:
Apache License
If you think the Android project Sketcher 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 org.sketcher; /*w w w .jav a 2s.c o m*/ import java.util.HashMap; import android.graphics.Canvas; public interface Style { public void strokeStart(float x, float y); public void stroke(Canvas c, float x, float y); public void draw(Canvas c); public void setColor(int color); public void saveState(HashMap<Integer, Object> state); public void restoreState(HashMap<Integer, Object> state); }