public class EffectFilter extends EffectBase
Modifier and Type | Class and Description |
---|---|
static class |
EffectFilter.Builder |
Constructor and Description |
---|
EffectFilter(java.lang.String path)
Creates an EffectFilter object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getDuration()
Gets the display duration of a filter effect.
|
java.lang.String |
getName()
Deprecated.
|
long |
getStartTime()
Gets the time when a filter effect appears.
|
int |
hashCode() |
void |
setDuration(long duration)
Sets the display duration of a filter effect.
|
void |
setStartTime(long startTime)
Sets the time when a filter effect appears.
|
java.lang.String |
toString() |
copy, getAnimationType, getPath, getResId, getViewId, readString, setAnimationType, setPath, setResId, setViewId
public EffectFilter(java.lang.String path)
path
- The path of a filter resource.@Deprecated public java.lang.String getName()
public long getStartTime()
public void setStartTime(long startTime)
startTime
- Unit: milliseconds.public long getDuration()
public void setDuration(long duration)
duration
- public java.lang.String toString()
toString
in class EffectBase
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object