H5 新特性04

Konva 基本操作

创建舞台

    new  Konva.stage({

        container:""

        width:

        height:

    })

创建层

    new Konva.Layer({

    })

创建组

    new Konva.Group({

    })

Konva基本图形

    rect

    star

    line

    ....

动画系统

Tween 配置

    new Tween({

        node: shape,

        duration:

        easing:

        yoyo:

        onFinish:function(){

        }

        /*要变的参数*/

    })

Tween对象的方法

    paly()

    pause()

    reset()

    reverse()

    finsh()

to方法

    Animation

你可能感兴趣的:(H5 新特性04)