Modifier and Type | Method and Description |
---|---|
void |
apply(MediaPlayer mediaPlayer)
Apply the marquee to the media player.
|
Marquee |
colour(Color colour)
Apply the text colour.
|
Marquee |
colour(int rgb)
Apply the text colour as RGB components.
|
Marquee |
disable()
Disable the marquee.
|
Marquee |
enable()
Enable the marquee.
|
Marquee |
enable(boolean enable)
Apply the initial enabled/disabled state.
|
Marquee |
location(int x,
int y)
Apply the text location in video co-ordinates.
|
static Marquee |
marquee()
Create a marquee.
|
Marquee |
opacity(float opacity)
Apply the text opacity.
|
Marquee |
opacity(int opacity)
Apply the text opacity.
|
Marquee |
position(libvlc_marquee_position_e position)
Apply the text position.
|
Marquee |
size(int size)
Apply the text size.
|
Marquee |
text(String text)
Apply the text.
|
Marquee |
timeout(int timeout)
Apply the timeout.
|
public static Marquee marquee()
public Marquee colour(Color colour)
colour
- text colourpublic Marquee colour(int rgb)
rgb
- integer encoded red, green, blue colour componentspublic Marquee opacity(int opacity)
opacity
- opacity, 0 to 255, where 255 is fully opaquepublic Marquee opacity(float opacity)
opacity
- opacity, 0.0 to 1.0, where 1.0 is fully opaquepublic Marquee size(int size)
size
- text sizepublic Marquee timeout(int timeout)
The marquee will be removed when the timeout expires.
timeout
- timeout, in millisecondspublic Marquee location(int x, int y)
x
- x ordinatey
- y ordinatepublic Marquee position(libvlc_marquee_position_e position)
position
- predefined text positionpublic Marquee enable(boolean enable)
enable
- true
to enable the marquee; false
to disable itpublic Marquee enable()
public Marquee disable()
public void apply(MediaPlayer mediaPlayer)
mediaPlayer
- media playerCopyright © 2009-2012 Caprica Software Limited. All Rights Reserved.