trait AnimatedEditTrait

Trait AnimatedEditBuilderTrait

Methods

delay(int $delay)

Controls the time delay between the frames of an animated image, in milliseconds.

loop(int $additionalIterations = null)

Delivers an animated GIF that contains additional loops of the GIF.

Details

AnimatedEdit delay(int $delay)

Controls the time delay between the frames of an animated image, in milliseconds.

Parameters

Name Type Description
$delay int The delay in milliseconds

Return Value

AnimatedEdit

AnimatedEdit loop(int $additionalIterations = null)

Delivers an animated GIF that contains additional loops of the GIF.

The total number of iterations is the number of additional loops plus one.

You can also specify the loop effect without a numeric value to instruct it to loop the GIF infinitely.

Parameters

Name Type Description
$additionalIterations int The additional number of times to play the animated GIF.

Return Value

AnimatedEdit