【1701H1】【穆晨】【180228】第141天总结

rect(Surface,color,Rect,width=0)绘制矩形

clock.tick()调整帧率,给cpu减压

pygame7基本图形的绘制,rect,polygon,circle,ellipse

pygame7基本图形的绘制,rect,polygon,circle,ellipse

polygon(Surface,color,pointlist,width=0)绘制多边形

poinlist指定多边形的各个顶点坐标

pygame7基本图形的绘制,rect,polygon,circle,ellipse

pygame7基本图形的绘制,rect,polygon,circle,ellipse

circle(Surface,color,pos,radius,width=0)

绘制圆,pos圆心的位置,radius半径

pygame7基本图形的绘制,rect,polygon,circle,ellipse

pygame7基本图形的绘制,rect,polygon,circle,ellipse

(100,100,440,100)(矩形左上角坐标,,长,宽)

ellipse(Surface,color,Rect,width=0)椭圆

tkinter中圆和椭圆是一起的,但pygame分开了

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2021-07-17
  • 2021-05-14
  • 2021-10-15
  • 2021-09-04
  • 2021-09-13
猜你喜欢
  • 2021-03-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2021-11-15
相关资源
相似解决方案