Skip to main content

Edit Animation

Purpose

Adds animations to an event related to an element.

Example

edit-label --elementName title --font OpenSans --fontStyle bold --size 20 --alignment center

Command Syntax

ParameterFormatRequirementUsage
--elementNameStringMandatoryThe unique name of the element being animated.
--animatorStringMandatoryAnimations are achieved by modifying specific properties of an element. This setting defines which property to change. Possible values are:
CLI Tool naming (JSON naming)
  • x (X)
  • y (Y)
  • fade-in (FADE-IN)
  • width (WIDTH)
  • height (HEIGHT)
--animatorPathStringMandatoryAnimations are created by modifying specific properties of an element. This setting controls how the property change progresses over time. Possible values are:
CLI Tool naming (JSON naming)
  • linear (LINEAR)
  • step (STEP)
  • ease-in (EASE-IN)
  • ease-out (EASE-OUT)
  • overshoot (OVERSHOOT)
  • bounce (BOUNCE)
--beginValueStringMandatoryAnimations are based on changing values of specific element properties. Begin Value is the ending value of a property defined in animator.
--endValueIntegerMandatoryAnimations are based on changing values of specific element properties. End Value is the ending value of a property defined in animator.
--eventStringMandatoryTriggers the animation based on the specified event. Possible values are:
CLI Tool naming (JSON naming)
  • load (LOAD)
  • unload (UNLOAD)
  • pressed (PRESSED)
--durationIntegerMandatoryDuration of the animation in milliseconds