Contact us
tel:15797766463
mail:business@seeshiontech.com
Update time : 2020-08-14 17:15:33
SXEffect is invided into transition, text animation, filter, video effects, etc., which can determined by the type attributes. Moreover it can be initialized by adding effect to tracks or main track group, created by adding methods on the track and not exist independently.
/**
* Set effect time follow type
*/
public enum SXEffectTimeFollowType {
/**
* Based on in point of track, the start time is relative to in point of track.
*/
None,
/**
* Start time of effect can be set at the beginning of track to achieve entrance effect.
*/
FollowStart,
/**
* End time of effect can be set at the end of the track to achieve exit effect.
*/
FollowEnd,
/**
* The display time of effect is the whole track duration.
*/
FollowWholeProcess
}
/**
* Set effect time follow type, SXEffectTimeFollowTypeNone by default.
* Effect time follow type may result in changing the start time, end time and whole duration dynamically, even voiding the setting of start time or duration.
*
* @param type Effect time follow type
*/
public void setEffectFollowType(SXEffectTimeFollowType type)
SXFilterEffect
It can be addede to:
Setting
SXAnimationEffect
It can be addede to SXMediaTrack.
Setting:
SXVideoEffect
SXTextAnimationEffect
SXTrackAnimationEffect
SXColorAdjustEffect
It can be added to:
Settings:
/**
* Color grading options
*/
public enum SXColorSettings {
/**
* Brightness
*/
Brightness,
/**
* Contrast
*/
Contrast,
/**
* Saturation
*/
Saturation,
/**
* Sharpen
*/
Sharpen,
/**
* Highlight
*/
Highlight,
/**
* Shadow
*/
Shadow,
/**
* Exposure
*/
Exposure,
/**
* Hue
*/
Hue
}
/**
* Get the value range of the above corresponding type color grading you set.
*
* @param setting Color grading
* @return Get value range for color grading.
*/
public Range getValueRangeForColorSetting(SXColorSettings setting)