Closed hpreston closed 2 years ago
I'm not against comments, it's a bad practice for me not to put any (even in my professional projects as a developer)
The functionality seems interesting to me, I am merge the PR and I will generate a version soon.
Thanks for your contributions
Thanks for adding this in! Very happy to contribute.
And most of my code for work is designed to be instructive, which means my default is to comment a lot. Has helped me remember why I did something more than once when returning to a project.
I wanted to build on the fade capabilities in the Library to support fading form one color directly to another.
Following your pattern for other function, I provide two options for users to provide the
from
andto
color data. Argb[3]
array for from and to can be provided, or 3int
variables for eachfrom
andto
.I generally comment my code as I'm writing to keep myself straight. If you'd prefer the comments be cleared out in the PR to match the rest of the library.
Thanks again for the great library and considering PRs.