Back to project page pixel-art.
The source code is released under:
Apache License
If you think the Android project pixel-art 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.jaween.pixelart.tools; /* w w w . ja v a2 s .c o m*/ import android.graphics.Path; /** * Created by ween on 11/14/14. */ public class ToolReport { // The path taken over the lifecycle of the this drawing operation private Path path = new Path(); // The inverse of the path private Path inversePath = new Path(); // The colour to be returned protected int dropColour = 0; public void reset() { path.reset(); inversePath.reset();; dropColour = 0; } public Path getPath() { return path; } public Path getInversePath() { return inversePath; } public int getDropColour() { return dropColour; } public void setDropColour(int dropColour) { this.dropColour = dropColour; } }