setOpacity() setOpacity(integer $opacity) : \Pop\Image\Layer\AbstractLayer Set the image opacity. Parameters integer $opacity Returns \Pop\Image\Layer\AbstractLayer