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