Android Open Source - pixel-art Eraser Tool Attributes

From Project

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.

Java Source Code

//ww  w  . j a v  a 2s .  c  o m
 * Created by ween on 11/2/14.
public class EraserToolAttributes extends ToolAttributes {

    private boolean antiAlias = false;
    private int thicknessLevel = MIN_THICKNESS;

    public EraserToolAttributes() {

    public boolean isAntiAlias() {
        return antiAlias;

    public void setAntiAlias(boolean antiAlias) {
        this.antiAlias = antiAlias;

    public void setThicknessLevel(int thicknessLevel) {
        this.thicknessLevel = thicknessLevel;

    public int getThicknessLevel() {
        return thicknessLevel;


Java Source Code List