🎨
This commit is contained in:
@ -49,11 +49,11 @@ def drawImage(channel):
|
|||||||
textImage.text((32+(384*placement[x])+117-int(textWidth/2),1005),key,fill=(255,255,255), font=fnt)
|
textImage.text((32+(384*placement[x])+117-int(textWidth/2),1005),key,fill=(255,255,255), font=fnt)
|
||||||
else:
|
else:
|
||||||
textWidth = fntSmol.getsize(key)[0]
|
textWidth = fntSmol.getsize(key)[0]
|
||||||
textImage.text((32+(384*placement[x])+117-int(textWidth/2)-3,1010-3),key,fill=(0,0,0), font=fntSmol)
|
textImage.text((32+(384*placement[x])+117-int(textWidth/2)-3,1020-3),key,fill=(0,0,0), font=fntSmol)
|
||||||
textImage.text((32+(384*placement[x])+117-int(textWidth/2)+3,1010-3),key,fill=(0,0,0), font=fntSmol)
|
textImage.text((32+(384*placement[x])+117-int(textWidth/2)+3,1020-3),key,fill=(0,0,0), font=fntSmol)
|
||||||
textImage.text((32+(384*placement[x])+117-int(textWidth/2)-3,1010+3),key,fill=(0,0,0), font=fntSmol)
|
textImage.text((32+(384*placement[x])+117-int(textWidth/2)-3,1020+3),key,fill=(0,0,0), font=fntSmol)
|
||||||
textImage.text((32+(384*placement[x])+117-int(textWidth/2)+3,1010+3),key,fill=(0,0,0), font=fntSmol)
|
textImage.text((32+(384*placement[x])+117-int(textWidth/2)+3,1020+3),key,fill=(0,0,0), font=fntSmol)
|
||||||
textImage.text((32+(384*placement[x])+117-int(textWidth/2),1005),key,fill=(255,255,255), font=fntSmol)
|
textImage.text((32+(384*placement[x])+117-int(textWidth/2),1015),key,fill=(255,255,255), font=fntSmol)
|
||||||
|
|
||||||
table.save("resources/games/blackjackTables/blackjackTable"+channel+".png")
|
table.save("resources/games/blackjackTables/blackjackTable"+channel+".png")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user