Commit 26a021d6 by 高宇强

gyq

parent a543bf4a
......@@ -232,10 +232,8 @@ def twopin_template(brand_text, brand_font, brand_color, slogan_text, slogan_fon
draw.rectangle((left_x, left_y + 2, left_x + rect_w, left_y + 25), fill=(0, 0, 0)) # 中间矩形
draw.rectangle((left_x - 20, left_y + 25, left_x + 20 + rect_w, left_y + 25 + rect_w), fill=(0, 0, 0)) # 底部矩形
# 左边矩形,中间为空
draw.rectangle((left_x - 30, left_y - 4, left_x - 14, left_y + 12), fill=(255, 255, 255), outline='black',
width=4)
draw.rectangle((left_x + 18, left_y - 4, left_x + 34, left_y + 12), fill=(255, 255, 255), outline='black',
width=4)
draw.rectangle((left_x - 30, left_y - 4, left_x - 14, left_y + 12), outline='black',width=4)
draw.rectangle((left_x + 18, left_y - 4, left_x + 34, left_y + 12), outline='black',width=4)
# draw.rectangle((left_x, left_y, left_x + 200, left_y + 10), fill=(0, 0, 0))
# 右下角开始位置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment