Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## josx.vision
Class Font

    java.lang.Object
      josx.vision.Font

    public class Font

extends java.lang.Object

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

Author:
  Konrad Rzeszutek

Field Summary
`static int` | `FONT_6x11`
`static int` | `FONT_8x8`

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
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, 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(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 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

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD