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, useLineSpacingFromFallbacks
action, 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, y
mSource, resId, viewId
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, getFontSource
equals, getHeightRatio, getWidthRatio, getXRatio, getYRatio, setHeightRatio, setWidthRatio, setXRatio, setYRatio, toEffectSticker
checkIsInvalid, getPath, getResId, getSource, getViewId, readString, 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