The color of the text that is drawn with draw_text()
I don't know how to change the color of the text that is drawn with draw_text().
"set_fill_color" doesn't operate well ...
I want to alter "black" to "red".
import canvas canvas.set_size(600, 600) canvas.set_fill_color(1, 0, 0) #red text = 'OK' x = 0 y = 400 font_family = 'Helvetica-Bold' font_size = 40 canvas.draw_text(text, x, y, font_family, font_size)
This seems to be a bug... this should work.
You might consider using the similar drawing methods in the ui or scene modules. Not as convienent, for just sketching around in the console, but somewhat more robust, you can get an image out, and is actuallt supported. The console module is kind of a relic from early versions of pythonista before the scene or ui module,i think.
Thank you very much!
Thank you for understanding my poor English...