public class EffectText extends EffectPaster
限定符和类型 | 字段和说明 |
---|---|
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
The path of the text font.
|
boolean |
hasLabel
Whether the text has a background.
|
boolean |
hasStroke
Whether the text is stroked.
|
android.graphics.Bitmap |
mBackgroundBmp
The text background image.
|
java.lang.String |
mBackgroundBmpPath
The path of the text background image.
|
boolean |
mIncludePad |
float |
mSpacingAdd |
float |
mSpacingMult |
android.text.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.
|
android.text.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 |
duration, end, frameArry, height, isTrack, kernelFrame, mirror, name, PASTER_TYPE_CAPTION, PASTER_TYPE_GIF, PASTER_TYPE_TEXT, rotation, start, timeArry, width, x, y
构造器和说明 |
---|
EffectText(java.lang.String path) |
限定符和类型 | 方法和说明 |
---|---|
void |
copy(EffectBase base)
Gets a copy of the parameters of an object.
|
java.lang.String |
generateTextFinger() |
int |
getPasterType() |
java.lang.String |
toString() |
equals, getHeightRatio, getWidthRatio, getXRatio, getYRatio, isPasterReady, setHeightRatio, setWidthRatio, setXRatio, setYRatio
getAnimationType, getPath, getResId, getViewId, readString, setAnimationType, setPath, setResId, setViewId
public android.text.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
public java.lang.String font
public boolean hasStroke
public boolean hasLabel
public int textLabelColor
public android.graphics.Bitmap mBackgroundBmp
public java.lang.String mBackgroundBmpPath
public int mTextSize
public int mTextPaddingX
public int mTextPaddingY
public android.text.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
public java.lang.String generateTextFinger()
public int getPasterType()
getPasterType
在类中 EffectPaster
public void copy(EffectBase base)
EffectBase
copy
在类中 EffectPaster
public java.lang.String toString()
toString
在类中 EffectPaster