AnimatedEdit
class AnimatedEdit extends BaseAction
Action for editing an animated image.
Learn more: Animated images
Methods
Action constructor.
Adds the qualifier to the action.
Adds qualifiers to the action.
Adds (sets) generic (raw) action.
Sets the flag.
Removes the flag.
Serializes to json.
Serializes to Cloudinary URL format
Controls the time delay between the frames of an animated image, in milliseconds.
Delivers an animated GIF that contains additional loops of the GIF.
Details
__construct(mixed ...$qualifiers)
Action constructor.
$this
addQualifier(BaseComponent $qualifier = null)
Adds the qualifier to the action.
$this
addQualifiers(array ...$qualifiers)
Adds qualifiers to the action.
BaseAction
setGenericAction(string $action)
Adds (sets) generic (raw) action.
$this
setFlag(FlagQualifier $flag, bool $set = true)
Sets the flag.
$this
unsetFlag(FlagQualifier $flag)
Removes the flag.
$this
importAction(BaseAction|null $action)
Imports (merges) qualifiers and flags from another action.
mixed
jsonSerialize()
Serializes to json.
string
__toString()
Serializes to Cloudinary URL format
AnimatedEdit
delay(int $delay)
Controls the time delay between the frames of an animated image, in milliseconds.
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.
Constants
MAIN_QUALIFIER |
|