欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

[framer学习]animation(3)

程序员文章站 2024-03-24 12:11:58
...
layerA = new Layer
    backgroundColor: "black"
    y: 275
    x: 100

layerA.animate
   rotation: 180
   borderRadius: 200
   options: 
       curve:"ease"
       time:7

layerA.animate
    scale: 0.5
    options:
        curve: "ease"
        delay: 1
        time: 1

layerA.animate
    scale: 2.00
    options:
        delay:3
        curve: "spring(400,20,0)"

上一篇: 识别条形码

下一篇: