PaperType
, PaperType2D
public 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, wait
createDataIcon, createHeadlessGraphicsConfig, isBitmap, toString
createDataIcon, isBitmap
placeGlyph
protected Paper createPaper(java.awt.Graphics g, java.awt.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 © 2018 Central Laboratory of the Research Councils. All Rights Reserved.