美文网首页
Framer动效05

Framer动效05

作者: huangxiaohao | 来源:发表于2016-07-21 10:43 被阅读28次

    Screen.backgroundColor="#877dd7"

    LayerA=new Layer

    width: 150

    height: 150

    x:Align.center

    y:Align.center

    backgroundColor: "#fff"

    borderRadius: 6

    LayerA.originX=1

    LayerA.originY=0

    LayerA.animate

    properties:

    rotation:90

    curve: "spring(200,30,10,19)"

    LayerA.on Events.AnimationEnd, ->

    this.animate

    properties:

    rotation:0

    repeat:5

    delay:2

    curve:"spring(200,10,0)"

    相关文章

      网友评论

          本文标题:Framer动效05

          本文链接:https://www.haomeiwen.com/subject/wzrbjttx.html