ComponentParam
Properties
Instance Methods
areKeyframesSupported
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
boolean
Returns bool whether keyframes are supported for this component parameter
createAddKeyframeAction
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Action
Creates and returns an action object which can be used to add a keyframe component
Parameters
createKeyframe
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Keyframe
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
Parameters
createRemoveKeyframeAction
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Action
Returns an action which removes keyframe at specific time
Parameters
createRemoveKeyframeRangeAction
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Action
Returns an action which removes keyframe at specific time range
Parameters
createSetInterpolationAtKeyframeAction
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Action
Returns an action which sets the interpolation mode of keyframe at the given time
Parameters
createSetTimeVaryingAction
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Action
Creates and returns an action object to set the component to be time varying
Parameters
createSetValueAction
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Action
Creates and returns an action object which can be used to set the value of a non-time varying component
Parameters
findNearestKeyframe
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Keyframe
Find sthe nearest key for the given time
Parameters
findNextKeyframe
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Keyframe
find the next keyframe for the given time
Parameters
findPreviousKeyframe
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Keyframe
find the previous keyframe for the given time
Parameters
getKeyframeListAsTickTimes
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
TickTime[]
Get a list of tickTime for the keyframes of this component param
getKeyframePtr
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Keyframe
Get the Keyframe at the given tickTime postion
Parameters
getStartValue
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
Keyframe
Returned promise will be fullfilled with the start value (keyframe) of the component param
getValueAtTime
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
number | string | boolean | PointF | Color
Gets the value of component Param at the given time
Parameters
isTimeVarying
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>
boolean
Returns true if the parameter value varies over time (for the duration of the item)