ComponentParam
Since: 25.6
Properties
Instance Methods
areKeyframesSupported
Returns bool whether keyframes are supported for this component parameter
Since: 25.6
Returns: Promise<boolean>
createAddKeyframeAction
Creates and returns an action object which can be used to add a keyframe component
Since: 25.6
Returns: Action
Parameters
createKeyframe
Creates and returns a keyframe initialised with the ComponentParam's type and passed in value. This throws if the passed in value is not compatible with the component param type
Since: 25.6
Returns: Keyframe
Parameters
createRemoveKeyframeAction
Returns an action which removes keyframe at specific time
Since: 25.6
Returns: Action
Parameters
createRemoveKeyframeRangeAction
Returns an action which removes keyframe at specific time range
Since: 25.6
Returns: Action
Parameters
createSetInterpolationAtKeyframeAction
Returns an action which sets the interpolation mode of keyframe at the given time
Since: 25.6
Returns: Action
Parameters
createSetTimeVaryingAction
Creates and returns an action object to set the component to be time varying
Since: 25.6
Returns: Action
Parameters
createSetValueAction
Creates and returns an action object which can be used to set the value of a non-time varying component
Since: 25.6
Returns: Action
Parameters
findNearestKeyframe
Find sthe nearest key for the given time
Since: 25.6
Returns: Keyframe
Parameters
findNextKeyframe
find the next keyframe for the given time
Since: 25.6
Returns: Keyframe
Parameters
findPreviousKeyframe
find the previous keyframe for the given time
Since: 25.6
Returns: Keyframe
Parameters
getKeyframeListAsTickTimes
Get a list of tickTime for the keyframes of this component param
Since: 25.6
Returns: TickTime[]
getKeyframePtr
Get the Keyframe at the given tickTime postion
Since: 25.6
Returns: Keyframe
Parameters
getStartValue
Returned promise will be fullfilled with the start value (keyframe) of the component param
Since: 25.6
Returns: Promise<Keyframe>
getValueAtTime
Gets the value of component Param at the given time
Since: 25.6
Returns: Promise<*number | string | boolean | PointF | Color*>
Parameters
isTimeVarying
Returns true if the parameter value varies over time (for the duration of the item)
Since: 25.6
Returns: boolean