public abstract class CATransition extends CAAnimation
Modifier and Type | Field and Description |
---|---|
static String |
Fade
The layer's content is fading out.
|
static String |
FromBottom
The transition from bottom.
|
static String |
FromLeft
The transition from left.
|
static String |
FromRight
The transition from right.
|
static String |
FromTop
The transition from top.
|
static String |
MoveIn
The layer's content is sliding in.
|
static String |
Push
The layer's content pushes any existing content and slides in.
|
static String |
Reveal
The layer content is gradually revealing.
|
Constructor and Description |
---|
CATransition() |
Modifier and Type | Method and Description |
---|---|
float |
endProgress()
Returns a number that represents the ending point of this CATransition.
|
void |
setEndProgress(float endProgress)
Sets a number that represents the ending point of this CATransition.
|
void |
setStartProgress(float startProgress)
Sets a number that represents the starting point of this CATransition.
|
void |
setSubtype(String subtype)
Sets the optional subtype of the direction for the predefined transition.
|
void |
setType(String type)
Sets the default transition type.
|
float |
startProgress()
Returns a number that represents the starting point of this CATransition.
|
String |
subtype()
Returns the optional subtype of the direction for the predefined
transition.
|
String |
type()
Returns the default transition type.
|
animation, animationDidStart, animationDidStop, defaultValueForKey, delegate, isRemovedOnCompletion, setDelegate, setRemovedOnCompletion
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runActionForKey
autoreverses, beginTime, duration, fillMode, repeatCount, repeatDuration, setAutoreverses, setBeginTime, setDuration, setFillMode, setRepeatCount, setRepeatDuration, setSpeed, setTimeOffset, speed, timeOffset
public static final String Fade
public static final String MoveIn
public static final String Push
public static final String Reveal
public static final String FromRight
public static final String FromLeft
public static final String FromTop
public static final String FromBottom
public float startProgress()
public void setStartProgress(float startProgress)
startProgress
- The starting point of this CATransition.public float endProgress()
public void setEndProgress(float endProgress)
endProgress
- The ending point of this CATransition.public String type()
public void setType(String type)
type
- The default transition type.public String subtype()
public void setSubtype(String subtype)
subtype
- The optional subtype of the direction for the predefined
transition.Copyright © 2020. All rights reserved.