#苹果手机
##圆角矩形,参数:length(宽),high(高),cor_angle(弧度值)cor_rad(圆形轨迹半径的位置)
def round_rectangle(length,high,cor_angle,cor_rad):
for i in range(2):
turtle.fd(high)
turtle.circle(cor_rad,cor_angle)
turtle.fd(length)
turtle.circle(cor_rad,cor_angle)
def main2():
turtle.setup(1300,800,0,0)#启动窗口的大小,左上角右上角坐标
pythonsize=2
turtle.pensize(pythonsize)#运行宽度
turtle.speed(10)
turtle.seth(90)#启动时运行的方向(角度)
#最外边框
turtle.pencolor("#8E8e8e")
turtle.penup()
turtle.goto(202,-202)
turtle.pendown()
round_rectangle(244,484,90,3