public function layerEffect(String $effect = 'normal') : GD
    {
        imagelayereffect($this->canvas, Helper::toConstant($effect, 'IMG_EFFECT_'));

        return $this;
    }
public function layerEffect(String $effect = 'normal') : GD
    {
        imagelayereffect($this->canvas, Helper::toConstant($effect, 'IMG_EFFECT_'));

        return $this;
    }
public function layerEffect ( String $ effect = 'normal' ) : GD { imagelayereffect ( $ this -> canvas , Helper :: toConstant ( $ effect , 'IMG_EFFECT_' ) ) ; return $ this ; }
Set layer effect

@param string $effect = 'normal'

@return GD
Set layer effect