photobot.Layer.up()

Syntax

canvas.layers[i].up()

Description

Moves layer i up in the stacking order. This is the opposite of the Layer.down() command.

Example

Moves the robot.jpg image on top of the penguin.jpg image.

photobot = ximport("photobot")
canvas = photobot.canvas(100,100)
canvas.layer("robot.jpg")
canvas.layer("penguin.jpg")
canvas.layers[1].up()