public class Viewer extends Object implements Java2DPainter
AFTER_LENSES, AFTER_PORTALS, BACKGROUND, FOREGROUND
Constructor and Description |
---|
Viewer(boolean fullscreen,
boolean opengl,
boolean antialiased,
File inputFile) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
paint(Graphics2D g2d,
int viewWidth,
int viewHeight)
Painting instructions, called by the associated view at each repaint.
|
public Viewer(boolean fullscreen, boolean opengl, boolean antialiased, File inputFile)
public void paint(Graphics2D g2d, int viewWidth, int viewHeight)
Java2DPainter
paint
in interface Java2DPainter
g2d
- the Graphics context on which to paintviewWidth
- the associated View's widthviewHeight
- the associated View's heightpublic static void main(String[] args)
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.