Implement changing brush size (saves in preferences)

This commit is contained in:
Brian Pinsard
2017-01-14 18:44:43 +01:00
parent aabc906321
commit ffc79f5578
7 changed files with 105 additions and 15 deletions

View File

@ -0,0 +1,17 @@
package com.simplemobiletools.draw;
import android.graphics.Color;
class PaintOptions {
int color = Color.BLACK;
float strokeWidth = 5f;
PaintOptions() {
//Empty constructor for instantiating with default values
}
PaintOptions(int color, float strokeWidth) {
this.color = color;
this.strokeWidth = strokeWidth;
}
}