如何设置EaselJS图形和形状的z-index

Rob*_*yes 13 animation canvas vector-graphics easeljs createjs

我在画布上有EaselJS Shapes然后我开始绘制每个刻度的图形.目前正在形状上绘制图形.有没有办法定义z-index,以便每个帧都在Graphics上绘制Shapes?

任何帮助将非常感激.

sto*_*tot 26

DisplayObject在插入后带到前面,请使用:

stage.setChildIndex( displayObject, stage.getNumChildren()-1);
Run Code Online (Sandbox Code Playgroud)