简体   繁体   中英

Python Image Library ellipse with wide outline

When creating an ellipse with PIL, is it possible to have a thicker/wider outline? Currently, I'm trying to do canvas.ellipse(box, outline=colour, fill=None) , but would like to be able to give the outline parameter a width.

您可以在PIL中使用aggdraw高级图形插件模块-借助它,绘制椭圆的方法与其他方法一样,可以使用pen对象,您可以使用自己喜欢的宽度(以及颜色和不透明度)制作pen对象。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM