if (do_name() != 'Home') : ?>
include("util/comment.php"); ?>
photobot.Layer.opacity()
endif ?>Syntax
canvas.layers[i].opacity(a)
Description
Sets the opacity of layer i, which is a value ranging between 0 and 100.
Example
photobot = ximport("photobot") canvas = photobot.canvas(100,100) canvas.layer("robot.jpg") canvas.layers[1].opacity(80)