@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="EffectTiming")
public interface EffectTiming
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EffectTiming.Builder
The EffectTiming dictionary, part of the Web Animations API, is used by Element.animate(), KeyframeEffectReadOnly(), and KeyframeEffect() to describe timing properties for animation effects.
|
| Modifier and Type | Method and Description |
|---|---|
static EffectTiming.Builder |
create() |
double |
delay()
The EffectTiming dictionary's delay property in the Web Animations API represents the number of milliseconds to delay the start of the animation.
|
java.lang.String |
direction()
The direction property of the Web Animations API dictionary EffectTiming indicates an animation's playback direction along its timeline, as well as its behavior when it reaches the end of an iteration
|
UnrestrictedDoubleOrStringUnion |
duration()
The duration property of the dictionary EffectTiming in the Web Animations API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete.
|
java.lang.String |
easing()
The EffectTiming dictionary's easing property in the Web Animations API specifies the timing function used to scale the time to produce easing effects, where easing is the rate of the animation's change over time.
|
double |
endDelay()
The endDelay property of the EffectTiming dictionary (part of the Web Animations API) indicates the number of milliseconds to delay after the active period of an animation sequence.
|
java.lang.String |
fill()
The Web Animations API's EffectTiming dictionary's fill property specifies a fill mode, which defines how the element to which the animation is applied should look when the animation sequence is not actively running, such as before the time specified by iterationStart or after animation's end time.
|
double |
iterations()
The Web Animations API dictionary EffectTiming's iterations property specifies the number of times the animation should repeat.
|
double |
iterationStart()
Web Animations API's EffectTiming dictionary's iterationStart property specifies the repetition number which repetition the animation begins at and its progress through it.
|
void |
setDelay(double delay)
The EffectTiming dictionary's delay property in the Web Animations API represents the number of milliseconds to delay the start of the animation.
|
void |
setDirection(java.lang.String direction)
The direction property of the Web Animations API dictionary EffectTiming indicates an animation's playback direction along its timeline, as well as its behavior when it reaches the end of an iteration
|
default void |
setDuration(double duration)
The duration property of the dictionary EffectTiming in the Web Animations API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete.
|
default void |
setDuration(java.lang.String duration)
The duration property of the dictionary EffectTiming in the Web Animations API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete.
|
void |
setDuration(UnrestrictedDoubleOrStringUnion duration)
The duration property of the dictionary EffectTiming in the Web Animations API specifies the duration in milliseconds that a single iteration (from beginning to end) the animation should take to complete.
|
void |
setEasing(java.lang.String easing)
The EffectTiming dictionary's easing property in the Web Animations API specifies the timing function used to scale the time to produce easing effects, where easing is the rate of the animation's change over time.
|
void |
setEndDelay(double endDelay)
The endDelay property of the EffectTiming dictionary (part of the Web Animations API) indicates the number of milliseconds to delay after the active period of an animation sequence.
|
void |
setFill(java.lang.String fill)
The Web Animations API's EffectTiming dictionary's fill property specifies a fill mode, which defines how the element to which the animation is applied should look when the animation sequence is not actively running, such as before the time specified by iterationStart or after animation's end time.
|
void |
setIterations(double iterations)
The Web Animations API dictionary EffectTiming's iterations property specifies the number of times the animation should repeat.
|
void |
setIterationStart(double iterationStart)
Web Animations API's EffectTiming dictionary's iterationStart property specifies the repetition number which repetition the animation begins at and its progress through it.
|
@JsOverlay @Nonnull static EffectTiming.Builder create()
@JsProperty(name="delay") double delay()
@JsProperty void setDelay(double delay)
@JsProperty(name="direction") @PlaybackDirection java.lang.String direction()
@JsProperty void setDirection(@PlaybackDirection @Nonnull java.lang.String direction)
@JsProperty(name="duration") UnrestrictedDoubleOrStringUnion duration()
@JsProperty
void setDuration(@Nonnull
UnrestrictedDoubleOrStringUnion duration)
@JsOverlay default void setDuration(double duration)
@JsOverlay
default void setDuration(@Nonnull
java.lang.String duration)
@JsProperty(name="easing") java.lang.String easing()
@JsProperty
void setEasing(@Nonnull
java.lang.String easing)
@JsProperty(name="endDelay") double endDelay()
@JsProperty void setEndDelay(double endDelay)
@JsProperty(name="fill") @FillMode java.lang.String fill()
@JsProperty void setFill(@FillMode @Nonnull java.lang.String fill)
@JsProperty(name="iterationStart") double iterationStart()
@JsProperty void setIterationStart(double iterationStart)
@JsProperty(name="iterations") double iterations()
@JsProperty void setIterations(double iterations)