Exemplo n.º 1
0
 internal void setLayer(BaseLayer layer)
 {
     MyParent = layer;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 增加层
 /// </summary>
 /// <param name="layer">层对象</param>
 /// <param name="zindex">Z轴坐标</param>
 public void AddLayer(BaseLayer layer, int zindex)
 {
     layer.setZIndex(zindex);
     layers.Add(layer);
     rootCanvas.Children.Add(layer);
 }