Closed ashutoshshrm529 closed 2 months ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Since this library is based on the Processing API, and according to the Processing text() documentation, the font color should indeed be changed using the fill()
function.
This PR is being closed due to inconsistency with the Processing API.
A solution for #5
Here I have tried to make text color completely independent of stroke color. I have also added another clone bitmap function ( text_bitmap ) which uses the text color instead of stroke. I preserved the original bitmap function since I was not sure about its uses elsewhere. Now the text color can be set using both the setTextColor function or the BeginText functions with color inputs.
Please review and suggest changes as you may see fit.