Simple-Draw icon indicating copy to clipboard operation
Simple-Draw copied to clipboard

Allow changing the alpha value

Open Lonami opened this issue 8 years ago • 2 comments

As simple as replacing:

new AmbilWarnaDialog(this, color, new AmbilWarnaDialog.OnAmbilWarnaListener() {

with

new AmbilWarnaDialog(this, color, true, new AmbilWarnaDialog.OnAmbilWarnaListener() {
//                                ^ note the true

Is there any reason why this wasn't done yet? It gives the "brush" a marker-like feel.

Lonami avatar Jan 09 '17 14:01 Lonami

Im currently rewriting the ambilwarnadialog as it has a couple issues, and the new one wont contains the alpha setter at all. I dont feel like Draw needs it, its just made for simple sketches. An alpha channel might complicate saving to png and later jpg too.

tibbi avatar Jan 09 '17 17:01 tibbi

I dont feel like Draw needs it

It's true that if an user really needs an alpha-like feature, they can as well choose a lighter colour or even combine them themselves although perhaps this is a bit harder.

An alpha channel might complicate saving to png and later jpg too.

The Android encoder seemed to work fine when saving the .png file, and if it's decent enough, it should have no problems with .jpg (and, also, .svg supports the alpha channel).

Lonami avatar Jan 09 '17 18:01 Lonami