public class BubbleCaptionTrack extends SubTitleTrack
PasterTrack.Type
mNodeKey
Constructor and Description |
---|
BubbleCaptionTrack() |
Modifier and Type | Method and Description |
---|---|
float |
getTextCenterX()
Gets the x coordinate of the centroid of the text in the screen coordinate system.
|
float |
getTextCenterY()
Gets the y coordinate of the centroid of the text in the screen coordinate system.
|
void |
setTextCenterX(float textCenterX)
Sets the x coordinate of the centroid of the text in the screen coordinate system.
|
void |
setTextCenterY(float textCenterY)
Sets the y coordinate of the centroid of the text in the screen coordinate system.
|
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 coordinatepublic float getTextCenterY()
public void setTextCenterY(float textCenterY)
textCenterY
- y coordinate