Custom Text Function

Created a custom text function that fills text depending on the colour behind it. Currently works best when drawing on top of either white or black (other colours work but not as well).

tlib
(source) https://github.com/Mr-Pyro/VisibleTextLib/tree/master/src/Pyro/TextLib/Text
(jar file) https://github.com/Mr-Pyro/VisibleTextLib/blob/master/Text.jar
(example) https://github.com/Mr-Pyro/VisibleTextLib/blob/master/src/Pyro/TextLib/Main.java

4 Likes

Nice idea for a library, congrats! :ok_hand:
However, b/c your library uses a lambda -> structure:

We can’t currently use “VisibleText.java” file under the PDE. Only the already compiled “Text.jar”. :cry:
Also maybe you should consider removing static from text(). :roll_eyes:
It’s slightly tiresome to pass this all the time as its 1st parameter. :yawning_face:

1 Like