public class EffectText extends EffectPaster
Modifier and Type | Field and Description |
---|---|
float |
bitmapScale |
int |
breakStrategy |
int |
dTextColor
The text color specified in the configuration file.
|
int |
dTextStrokeColor
The text stroke color specified in the configuration file.
|
java.lang.String |
font
Deprecated.
|
Source |
fontSource
The path of the text font.
|
boolean |
hasLabel
Whether the text has a background.
|
boolean |
hasStroke
Whether the text is stroked.
|
Bitmap |
mBackgroundBmp
The text background image.
|
java.lang.String |
mBackgroundBmpPath
The path of the text background image.
|
boolean |
mIncludePad |
float |
mSpacingAdd |
float |
mSpacingMult |
Layout.Alignment |
mTextAlignment
The text alignment method.
|
int |
mTextMaxLines
The maximum number of text lines.
|
int |
mTextPaddingX
The x coordinate of the text relative to the origin in the upper left corner.
|
int |
mTextPaddingY
The y coordinate of the text relative to the origin in the upper left corner.
|
int |
mTextSize
The text size.
|
boolean |
needSaveBmp
Whether to save the text image.
|
java.lang.String |
text
The text contents.
|
Layout.Alignment |
textAlignment
The text alignment method.
|
java.lang.String |
textBmpPath
The path of the image generated from the view of the text.
|
int |
textColor
The text color.
|
int |
textHeight
The height of the view that displays the text.
|
int |
textLabelColor
The text background color.
|
int |
textStrokeColor
The text stroke color.
|
int |
textWidth
The width of the view that displays the text.
|
boolean |
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 |
---|
EffectText(Source source) |
EffectText(java.lang.String path)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
copy(EffectBase base)
Gets a copy of the parameters of an object.
|
java.lang.String |
generateTextFinger() |
java.lang.String |
getFontPath() |
Source |
getFontSource() |
int |
getPasterType() |
java.lang.String |
toString() |
equals, getHeightRatio, getWidthRatio, getXRatio, getYRatio, setHeightRatio, setWidthRatio, setXRatio, setYRatio, toEffectSticker
checkIsInvalid, getPath, getResId, getSource, getViewId, readString, setPath, setResId, setSource, setViewId
public Layout.Alignment textAlignment
public java.lang.String text
public java.lang.String textBmpPath
public int textWidth
public int textHeight
public int textColor
public int dTextColor
public int textStrokeColor
public int dTextStrokeColor
@Deprecated public java.lang.String font
public Source fontSource
public boolean hasStroke
public boolean hasLabel
public int textLabelColor
public Bitmap mBackgroundBmp
public java.lang.String mBackgroundBmpPath
public int mTextSize
public int mTextPaddingX
public int mTextPaddingY
public Layout.Alignment mTextAlignment
public boolean needSaveBmp
public int mTextMaxLines
public float bitmapScale
public int breakStrategy
public boolean useLineSpacingFromFallbacks
public float mSpacingMult
public float mSpacingAdd
public boolean mIncludePad
@Deprecated public EffectText(java.lang.String path)
public EffectText(Source source)
public java.lang.String generateTextFinger()
public int getPasterType()
getPasterType
in class EffectPaster
public java.lang.String getFontPath()
public Source getFontSource()
public void copy(EffectBase base)
EffectBase
copy
in class EffectPaster
public java.lang.String toString()
toString
in class EffectPaster