|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.paper.PaintPaperType
uk.ac.starlink.ttools.plot2.paper.PaintPaperType2D
public abstract class PaintPaperType2D
PaintPaperType for 2-dimensional plots. Suitable for output to vector graphics media.
Constructor Summary | |
---|---|
protected |
PaintPaperType2D()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class uk.ac.starlink.ttools.plot2.paper.PaintPaperType |
---|
createDataIcon, createHeadlessGraphicsConfig, isBitmap, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface uk.ac.starlink.ttools.plot2.paper.PaperType2D |
---|
placeGlyph |
Methods inherited from interface uk.ac.starlink.ttools.plot2.paper.PaperType |
---|
createDataIcon, isBitmap |
Constructor Detail |
---|
protected PaintPaperType2D()
Method Detail |
---|
protected Paper createPaper(Graphics g, Rectangle bounds)
PaintPaperType
createPaper
in class PaintPaperType
g
- graphics context to which paper should outputbounds
- plot bounds
protected 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 use
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |