Add stroke to numbers and text to make some colors stand out more against the black background
This commit is contained in:
parent
6eafd64d81
commit
1c21fd85f2
1 changed files with 2 additions and 0 deletions
2
main.py
2
main.py
|
|
@ -33,6 +33,8 @@ def draw_symbol(img, symbol, color, x, y):
|
|||
with Drawing() as draw:
|
||||
draw.font = 'wandtests/assets/League_Gothic.otf'
|
||||
draw.font_size = 100
|
||||
draw.stroke_color = Color('black')
|
||||
draw.stroke_width = 3
|
||||
draw.text_alignment = 'center'
|
||||
draw.fill_color=Color(color)
|
||||
draw.text(x, y, str(symbol))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue