public interface CAMediaTiming
Modifier and Type | Method and Description |
---|---|
boolean |
autoreverses()
Returns a Boolean value that determines whether the animation will play
in reverse after completion.
|
double |
beginTime()
Returns the beginning time of the animation.
|
double |
duration()
Returns the animation duration in seconds.
|
String |
fillMode()
Returns a String that represents the state of the animation after its
completion.
|
float |
repeatCount()
Returns the number of repeats of the animation.
|
double |
repeatDuration()
Returns the duration of the animation repeat.
|
void |
setAutoreverses(boolean autoreverses)
Sets a Boolean value that determines whether the animation will play in
reverse after completion.
|
void |
setBeginTime(double beginTime)
Sets the beginning time of the animation.
|
void |
setDuration(double duration)
Sets the animation duration in seconds.
|
void |
setFillMode(String fillMode)
Sets the state of the animation after its completion.
|
void |
setRepeatCount(float repeatCount)
Sets the number of repeats of the animation.
|
void |
setRepeatDuration(double repeatDuration)
Sets the duration of the animation repeat.
|
void |
setSpeed(float speed)
Sets a number that represents how time is mapped to the current time space from the parent time space.
|
void |
setTimeOffset(double timeOffset)
Sets the time offset of the local time.
|
float |
speed()
Returns the number that represents how time is mapped to the current time space from the parent time space.
|
double |
timeOffset()
Returns the time offset of the local time.
|
boolean autoreverses()
void setAutoreverses(boolean autoreverses)
autoreverses
- TRUE then the animation will play in reverse after
completion.double beginTime()
void setBeginTime(double beginTime)
beginTime
- The beginning time of the animation.double duration()
void setDuration(double duration)
duration
- The animation duration in seconds.String fillMode()
void setFillMode(String fillMode)
fillMode
- The state of the animation after its completion.float repeatCount()
void setRepeatCount(float repeatCount)
repeatCount
- The number of repeats of the animation.double repeatDuration()
void setRepeatDuration(double repeatDuration)
repeatDuration
- The duration of the animation repeat.float speed()
void setSpeed(float speed)
speed
- A number that represents how time is mapped to the current time space from the parent time space.double timeOffset()
void setTimeOffset(double timeOffset)
timeOffset
- The time offset of the local time.Copyright © 2020. All rights reserved.