Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created June 6, 2017 12:11
Show Gist options
  • Save ssaurel/747c5c591f783450a30925543ba93c10 to your computer and use it in GitHub Desktop.
Save ssaurel/747c5c591f783450a30925543ba93c10 to your computer and use it in GitHub Desktop.
Finger Path object for a Paint App Tutorial on the SSaurel's Channel
package com.ssaurel.mypaint;
import android.graphics.Path;
public class FingerPath {
public int color;
public boolean emboss;
public boolean blur;
public int strokeWidth;
public Path path;
public FingerPath(int color, boolean emboss, boolean blur, int strokeWidth, Path path) {
this.color = color;
this.emboss = emboss;
this.blur = blur;
this.strokeWidth = strokeWidth;
this.path = path;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment