icommand.vision
Class Font
java.lang.Object
icommand.vision.Font
public class Font
- extends java.lang.Object
Title: Big fonts Description: Support for overlaying text on video streams
- Author:
- Konrad Rzeszutek
Method Summary |
static void |
println(java.lang.String mesg,
int font,
int x,
int y,
byte r,
byte g,
byte b,
javax.media.Buffer inBuffer)
Write text over the RGB image |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FONT_8x8
public static final int FONT_8x8
- See Also:
- Constant Field Values
FONT_6x11
public static final int FONT_6x11
- See Also:
- Constant Field Values
println
public static void println(java.lang.String mesg,
int font,
int x,
int y,
byte r,
byte g,
byte b,
javax.media.Buffer inBuffer)
- Write text over the RGB image
- Parameters:
mesg
- the text to writefont
- the big font to usex
- the x coordinate of the bottom left cornery
- the y coordinate of the bottom left cornerr
- the red value of the RGB color of the textg
- the green value of the RGB color of the textb
- the blue value of the RGB color of the textinBuffer
- the video Buffer to overlay the text over