Set background colour in P5SunflowAPIAPI?
in
Contributed Library Questions
•
2 years ago
Hi all,
I've been playing with the P5SunflowAPIAPI library, with some early success. One thing I'm really having trouble with is setting a background colour- everything I render is coming out with a black background. Looking at the docs would suggest that
sunflow.setBackground(255, 255, 255);
ought to set the background colour to white, but it's not working! Any thoughts would be appreciated.
p.s. I'm using the P5SunflowAPIAPI library rather than the SunflowAPIAPI Java wrapper.
1