public class EffectCaption extends EffectText
Modifier and Type | Field and Description |
---|---|
int |
gifViewId |
long |
preBegin
配置文件中默认文字在视频时间轴上的的开始时间
|
long |
preEnd
配置文件中默认文字在视频时间轴上的结束时间
|
long |
textBegin
文字在视频时间轴上的开始时间
|
int |
textCenterX
文字的中心点x坐标(屏幕坐标系)
|
int |
textCenterY
文字的中心点y坐标(屏幕坐标系)
|
long |
textEnd
文字在视频时间轴上的结束时间
|
float |
textRotation
文字的旋转角度
|
bitmapScale, breakStrategy, dTextColor, dTextStrokeColor, font, fontSource, hasLabel, hasStroke, mBackgroundBmp, mBackgroundBmpPath, mIncludePad, mSpacingAdd, mSpacingMult, mTextAlignment, mTextMaxLines, mTextPaddingX, mTextPaddingY, mTextSize, needSaveBmp, text, textAlignment, textBmpPath, textColor, textHeight, textLabelColor, textStrokeColor, textWidth, useLineSpacingFromFallbacks
action, displayHeight, displayWidth, duration, end, frameArry, height, isTrack, kernelFrame, mirror, name, PASTER_TYPE_CAPTION, PASTER_TYPE_GIF, PASTER_TYPE_TEXT, rotation, start, timeArry, width, x, y
Constructor and Description |
---|
EffectCaption(Source source) |
EffectCaption(java.lang.String path)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
copy(EffectBase base)
复制一份对象的参数
|
int |
getPasterType() |
java.lang.String |
toString() |
generateTextFinger, getFontPath, getFontSource
equals, getHeightRatio, getWidthRatio, getXRatio, getYRatio, isPasterReady, setHeightRatio, setWidthRatio, setXRatio, setYRatio
getAnimationType, getPath, getResId, getSource, getViewId, readString, setAnimationType, setPath, setResId, setSource, setViewId
public int gifViewId
public long textBegin
public long textEnd
public long preBegin
public long preEnd
public int textCenterX
public int textCenterY
public float textRotation
@Deprecated public EffectCaption(java.lang.String path)
public EffectCaption(Source source)
public int getPasterType()
getPasterType
in class EffectText
public void copy(EffectBase base)
EffectBase
copy
in class EffectText
public java.lang.String toString()
toString
in class EffectText