layer.bringToFront()

Places this layer in front of all other layers with the same parent.
译:这一层放置在同一superLayer的所有其他层面前。

layerA = new Layer
layerB = new Layer
layerC = new Layer

# Draw layerA on top 
layerA.bringToFront()

results matching ""

    No results matching ""