public class EffectFilter extends EffectBase
Modifier and Type | Class and Description |
---|---|
static class |
EffectFilter.Builder |
Constructor and Description |
---|
EffectFilter(Source source)
Creates an EffectFilter object
|
EffectFilter(java.lang.String path)
Deprecated.
Replaced by
EffectFilter(Source) . |
Modifier and Type | Method and Description |
---|---|
void |
copy(EffectBase base)
Gets a copy of the parameters of an object.
|
boolean |
equals(java.lang.Object o) |
long |
getDuration()
Gets the display duration of a filter effect.
|
EffectConfig |
getEffectConfig() |
java.lang.String |
getName()
Deprecated.
|
java.util.List<EffectConfig.NodeBean> |
getNodeTree() |
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 |
setEffectConfig(EffectConfig effectConfig) |
void |
setStartTime(long startTime)
Sets the time when a filter effect appears.
|
java.lang.String |
toJsonString() |
java.lang.String |
toString() |
getAnimationType, getPath, getResId, getSource, getViewId, readString, setAnimationType, setPath, setResId, setSource, setViewId
@Deprecated public EffectFilter(java.lang.String path)
EffectFilter(Source)
.path
- The path of a filter resource.public EffectFilter(Source source)
source
- 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.util.List<EffectConfig.NodeBean> getNodeTree()
public java.lang.String toString()
toString
in class EffectBase
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void setEffectConfig(EffectConfig effectConfig)
public EffectConfig getEffectConfig()
public java.lang.String toJsonString()
public int hashCode()
hashCode
in class java.lang.Object
public void copy(EffectBase base)
EffectBase
copy
in class EffectBase