|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jogamp.nativewindow.awt.AWTPrintLifecycle.Context
public static class AWTPrintLifecycle.Context
Convenient AWTPrintLifecycle context simplifying calling setupPrint(..)
and AWTPrintLifecycle.releasePrint() on all AWTPrintLifecycle elements of a Container.
See Usage.
| Method Summary | |
|---|---|
int |
getCount()
|
void |
releasePrint()
See Usage. |
static AWTPrintLifecycle.Context |
setupPrint(Container c,
double scaleMatX,
double scaleMatY,
int numSamples,
int tileWidth,
int tileHeight)
See Usage. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AWTPrintLifecycle.Context setupPrint(Container c,
double scaleMatX,
double scaleMatY,
int numSamples,
int tileWidth,
int tileHeight)
See Usage.
c - container to be traversed through to perform setupPrint(..) on all AWTPrintLifecycle elements.scaleMatX - Graphics2D scaling factor, i.e. rendering 1/scaleMatX * width pixelsscaleMatY - Graphics2D scaling factor, i.e. rendering 1/scaleMatY * height pixelsnumSamples - multisampling value: < 0 turns off, == 0 leaves as-is, > 0 enables using given num samplestileWidth - custom tile width for tile renderer, pass -1 for default.tileHeight - custom tile height for tile renderer, pass -1 for default.
public void releasePrint()
See Usage.
public int getCount()
setupPrint(..) or releasePrint().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||