返回顶部

收藏

Draw a Oval with fill

更多
from Tkinter import *

root = Tk()

root.title('Canvas')

canvas = Canvas(root, width =400, height=400)
canvas.create_oval(10,10,100,100, fill='gray90')

canvas.pack()
root.mainloop()

标签:Python,2D

收藏

0人收藏

支持

0

反对

0

»更多 您可能感兴趣的代码
  1. 2015-12-13 11:28:39Set font from Root component by 风云轩
  2. 2016-01-21 16:07:51Draw circle by 张宋付
  3. 2017-03-05 13:53:41Draw Math Curve by jack.chen
  4. 2015-12-07 19:24:39Load bitmap into a Canvas by 山药
  5. 2016-01-29 16:07:13Label font by 阮小七
  6. 2016-11-08 09:02:07Draw Rectangle by 阮小七
  7. 2017-03-05 14:15:26Set Button style: font by 风云轩
  8. 2016-10-29 09:05:11Draw rectangle with filled color by jack.chen
  9. 2015-11-26 18:29:34Draw shape border by Solon.Ring
  10. 2016-10-04 09:53:51Fill shape color by 阮小七
  11. 2019-06-17 21:18:10PHP+jQuery.photoClip.js图片裁剪上传实例 by 素材火官网

发表评论