What are the differences between group and layer in KineticJs

前端 未结 2 945
悲&欢浪女
悲&欢浪女 2020-12-04 00:11

I am developing a HTML5 web application using KineticJS. I read that in KineticJS there are grouping and layering. As far as I know there are no differences between them. Ca

2条回答
  •  误落风尘
    2020-12-04 00:20

    Groups are simply group of elements or objects can be stacked in any way normally within a layer.

    Layers are different Canvas area that can be added on the stage stacked over each other.

提交回复
热议问题