if (do_name() != 'Home') : ?>
include("util/comment.php"); ?>
photobot.Layer.flip()
endif ?>Syntax
canvas.layers[i].flip(axis=HORIZONTAL)
Description
Flips layer i, either HORIZONTAL or VERTICAL.
Example
photobot = ximport("photobot") canvas = photobot.canvas(100,100) canvas.layer("robot.jpg") canvas.layers[1].flip(photobot.VERTICAL)