josx.vision
Class Font
java.lang.Object
josx.vision.Font
- public class Font
- extends Object
Title: Big fonts
Description: Support for overlaying text on video streams
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 |
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(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 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