第二篇随笔
作者:互联网
怎么显示行号
`# 定义放大
def enlarge():
x = windowSize()[0]
y = windowSize()[1]
# print(x,y)
zoomAction = MultiAction(dr)
a1 = TouchAction(dr).press(x=x0.4,y=y0.4).wait(100).move_to(x=x0.3,y=y0.3).release()
a2 = TouchAction(dr).press(x=x0.6,y=y0.6).wait(100).move_to(x=x0.7,y=y0.7).release()
zoomAction.add(a1,a2) # 将TouchAction的对象添加到MultiAction中
zoomAction.perform() # 执行MultiAction中的TouchAction对象`
标签:TouchAction,第二篇,move,windowSize,MultiAction,zoomAction,随笔,dr 来源: https://www.cnblogs.com/lingfeng257/p/16368484.html