public class BubbleCaptionTrack extends SubTitleTrack
PasterTrack.Type
mNodeKey
Constructor and Description |
---|
BubbleCaptionTrack() |
Modifier and Type | Method and Description |
---|---|
float |
getTextCenterX()
获取文字的中心点x坐标(屏幕坐标系)
|
float |
getTextCenterY()
获取文字的中心点y坐标(屏幕坐标系)
|
void |
setTextCenterX(float textCenterX)
设置文字的中心点x坐标(屏幕坐标系)
|
void |
setTextCenterY(float textCenterY)
设置文字的中心点y坐标(屏幕坐标系)
|
getBackgroundImgPath, getFont, getPreBegin, getPreEnd, getText, getTextAlignment, getTextBackgroundColor, getTextBmpPath, getTextColor, getTextHeight, getTextMaxLines, getTextPaddingX, getTextPaddingY, getTextRotation, getTextSize, getTextStrokeColor, getTextWidth, setBackgroundImgPath, setFont, setPreBegin, setPreEnd, setText, setTextAlignment, setTextBackgroundColor, setTextBmpPath, setTextColor, setTextHeight, setTextMaxLines, setTextPaddingX, setTextPaddingY, setTextRotation, setTextSize, setTextStrokeColor, setTextWidth
getActions, getFrameArray, getHeight, getName, getNodeKey, getRotation, getSource, getTimeArray, getTimelineIn, getTimelineOut, getWidth, getX, getY, isMirror, setFrameArray, setHeight, setMirror, setName, setNodeKey, setRotation, setSource, setTimeArray, setTimelineIn, setTimelineOut, setWidth, setX, setY, toString
getType, setType
public float getTextCenterX()
public void setTextCenterX(float textCenterX)
textCenterX
- 文字的中心点x坐标public float getTextCenterY()
public void setTextCenterY(float textCenterY)
textCenterY
- 文字的中心点y坐标