public abstract class PaintPaperType2D extends PaintPaperType implements PaperType2D
| Modifier | Constructor and Description |
|---|---|
protected |
PaintPaperType2D()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Paper |
createPaper(Graphics g,
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.
|
createDataIcon, createHeadlessGraphicsConfig, isBitmap, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitplaceGlyphcreateDataIcon, isBitmapprotected Paper createPaper(Graphics g, 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 © 2025 Central Laboratory of the Research Councils. All Rights Reserved.