Example usage for Java javax.media.j3d J3DGraphics2D fields, constructors, methods, implement or subclass
The text is from its open source code.
void | drawString(String str, int x, int y) Renders the text of the specified String , using the current text attribute state in the Graphics2D context. |
void | flush(boolean wait) Flushes all previously executed rendering operations to the drawing buffer for this 2D graphics object. |
Color | getColor() Gets this graphics context's current color. |
Font | getFont() Gets the current font. |
FontMetrics | getFontMetrics() Gets the font metrics of the current font. |
void | setColor(Color c) Sets this graphics context's current color to the specified color. |
void | setFont(Font font) Sets this graphics context's font to the specified font. |