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, useLineSpacingFromFallbacksaction, displayHeight, displayWidth, duration, end, frameArry, height, isTrack, kernelFrame, mirror, name, PASTER_TYPE_CAPTION, PASTER_TYPE_GIF, PASTER_TYPE_IMAGE, PASTER_TYPE_TEXT, rotation, start, timeArry, width, x, ymSource, resId, viewId| 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, getFontSourceequals, getHeightRatio, getWidthRatio, getXRatio, getYRatio, setHeightRatio, setWidthRatio, setXRatio, setYRatio, toEffectStickercheckIsInvalid, getPath, getResId, getSource, getViewId, readString, setPath, setResId, setSource, setViewIdpublic 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 EffectTextpublic void copy(EffectBase base)
copy in class EffectTextpublic java.lang.String toString()
toString in class EffectText