Back to project page finger-paint.
The source code is released under:
GNU General Public License
If you think the Android project finger-paint listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * GNU GENERAL PUBLIC LICENSE//from ww w. j av a 2s .co m * * Android Paint is a Drawing Application for Android. * Copyright (C) 2014 Steve Jarvis * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* * Pp is a clever acronym for path paint, which is what this class will be storing. * The history will be a stack of these guys. */ package com.sajarvis.paint; import android.graphics.Paint; import android.graphics.Path; import com.sajarvis.fingerpaint.R; public class Pp { private Paint paint; private Path path; //Constructor public Pp(Path pth, Paint pnt){ path = pth; paint = pnt; } //Get the paint public Paint getPaint(){ return paint; } //Get the path public Path getPath(){ return path; } }