josx.vision
Class Font

java.lang.Object
  extended byjosx.vision.Font

public class Font
extends Object

Title: Big fonts Description: Support for overlaying text on video streams


Field Summary
static int FONT_6x11
           
static int FONT_8x8
           
 
Method Summary
static void println(String mesg, int font, int x, int y, byte r, byte g, byte b, Buffer inBuffer)
          Write text over the RGB image
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Field Detail

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
Method Detail

println

public static void println(String mesg,
                           int font,
                           int x,
                           int y,
                           byte r,
                           byte g,
                           byte b,
                           Buffer inBuffer)
Write text over the RGB image

Parameters:
mesg - the text to write
font - the big font to use
x - the x coordinate of the bottom left corner
y - the y coordinate of the bottom left corner
r - the red value of the RGB color of the text
g - the green value of the RGB color of the text
b - the blue value of the RGB color of the text
inBuffer - the video Buffer to overlay the text over