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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
placeGlyph
createDataIcon, isBitmap
protected Paper createPaper(Graphics g, Rectangle bounds)
PaintPaperType
createPaper
in class PaintPaperType
g
- graphics context to which paper should outputbounds
- plot boundsprotected void flushPaper(Paper paper)
PaintPaperType
flushPaper
in class PaintPaperType
paper
- graphics destinationpublic void placeDecal(Paper paper, Decal decal)
PaperType
placeDecal
in interface PaperType
paper
- 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 © 2024 Central Laboratory of the Research Councils. All Rights Reserved.