public class Caption
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
duration |
int |
fontHeight |
int |
startSeconds |
java.lang.String |
text |
int |
x |
int |
y |
| Constructor and Description |
|---|
Caption() |
Caption(java.lang.String text,
int x,
int y,
int startSeconds,
int duration,
int fontHeight) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public final java.lang.String text
public final int x
public final int y
public final int startSeconds
public final int duration
public final int fontHeight
public Caption()
public Caption(java.lang.String text,
int x,
int y,
int startSeconds,
int duration,
int fontHeight)
text - to be displayed.x - position of the text's top left corner.y - position of the text's top left corner.startSeconds - when the caption should be displayed.duration - display duration.fontHeight - caption font size.