PaperType, PaperType2Dpublic abstract class PaintPaperType2D extends PaintPaperType implements PaperType2D
| Modifier | Constructor | Description |
|---|---|---|
protected |
PaintPaperType2D() |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Paper |
createPaper(java.awt.Graphics g,
java.awt.Rectangle bounds) |
Creates a paper instance for use with this PaperType.
|
static PaintPaperType2D |
createPaperType(boolean quantise) |
Constructs an instance of this class.
|
protected void |
flushPaper(Paper paper) |
Called when all the layers have been painted.
|
void |
placeDecal(Paper paper,
Decal decal) |
Paints a Decal onto a given paper object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateDataIcon, createHeadlessGraphicsConfig, isBitmap, toStringcreateDataIcon, isBitmapplaceGlyphprotected Paper createPaper(java.awt.Graphics g, java.awt.Rectangle bounds)
PaintPaperTypecreatePaper in class PaintPaperTypeg - graphics context to which paper should outputbounds - plot boundsprotected void flushPaper(Paper paper)
PaintPaperTypeflushPaper in class PaintPaperTypepaper - graphics destinationpublic void placeDecal(Paper paper, Decal decal)
PaperTypeplaceDecal in interface PaperTypepaper - graphics destination, of appropriate type for this objectdecal - graphic to paintpublic static PaintPaperType2D createPaperType(boolean quantise)
quantise - whether glyph coordinates should be snapped to
the pixel grid before useCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.