public class EffectCaption extends EffectText
| Modifier and Type | Field and Description |
|---|---|
int |
gifViewId |
long |
preBegin
The preset time when the text appears on the stream timeline.
|
long |
preEnd
The preset time when the text disappears on the stream timeline.
|
long |
textBegin
The time when the text appears on the stream timeline.
|
int |
textCenterX
The x coordinate of the centroid of the text in the screen coordinate system.
|
int |
textCenterY
The y coordinate of the centroid of the text in the screen coordinate system.
|
long |
textEnd
The time when the text disappears on the stream timeline.
|
float |
textRotation
The rotation angle of the text.
|
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_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)
Gets a copy of the parameters of an object.
|
int |
getPasterType() |
java.lang.String |
toString() |
generateTextFinger, getFontPath, getFontSourceequals, getHeightRatio, getWidthRatio, getXRatio, getYRatio, isPasterReady, setHeightRatio, setWidthRatio, setXRatio, setYRatiogetAnimationType, getPath, getResId, getSource, getViewId, readString, setAnimationType, 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)
EffectBasecopy in class EffectTextpublic java.lang.String toString()
toString in class EffectText