public class Filter extends EffectTrack
EffectTrack.Type
mTimelineIn, mTimelineOut
Constructor and Description |
---|
Filter(Source source) |
Filter(java.lang.String path)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Gets the display duration of an effect.
|
EffectConfig |
getEffectConfig()
Gets the effect config.
|
boolean |
getInvert()
whether to add when rewinding.
|
Source |
getSource()
Gets the filter resource.
|
long |
getStartTime()
Gets the time when an effect appears.
|
void |
setEffectConfig(EffectConfig effectConfig)
Sets the effect config.
|
void |
setInvert(boolean invert)
Sets whether to add when rewinding.
|
void |
setSource(Source source)
Sets the filter resource.
|
getTimelineIn, getTimelineOut, getType, setTimelineIn, setTimelineOut, setType
@Deprecated public Filter(java.lang.String path)
public Filter(Source source)
public void setInvert(boolean invert)
invert
- invertpublic boolean getInvert()
public EffectConfig getEffectConfig()
public void setEffectConfig(EffectConfig effectConfig)
effectConfig
- effect configpublic Source getSource()
public void setSource(Source source)
source
- filter resourcepublic long getStartTime()
public long getDuration()