|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.paper.RgbPaperType.RgbPaper
protected abstract static class RgbPaperType.RgbPaper
Paper for use by this type.
Constructor Summary | |
---|---|
RgbPaperType.RgbPaper(PaperType paperType,
Rectangle bounds)
Constructor. |
Method Summary | |
---|---|
abstract void |
flush()
Called after all drawings have been drawn. |
Rectangle |
getBounds()
Returns the plot bounds. |
PaperType |
getPaperType()
Returns the PaperType which generated and can write to this paper. |
protected int |
getPixelIndex(int xoff,
int yoff,
Pixer pixer)
Returns the index into the RGB image buffer corresponding to the current state of a pixel iterator and an X/Y offset. |
RgbImage |
getRgbImage()
Returns the RGB image that stores the state of this paper. |
void |
placeDecal(Decal decal)
Does the work for placing a decal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RgbPaperType.RgbPaper(PaperType paperType, Rectangle bounds)
paperType
- paper type instance creating this paperbounds
- plot boundsMethod Detail |
---|
public PaperType getPaperType()
Paper
getPaperType
in interface Paper
public RgbImage getRgbImage()
public Rectangle getBounds()
public void placeDecal(Decal decal)
RgbPaperType.placeDecal(uk.ac.starlink.ttools.plot2.paper.Paper, uk.ac.starlink.ttools.plot2.Decal)
.
decal
- graphic to paintprotected int getPixelIndex(int xoff, int yoff, Pixer pixer)
xoff
- offset in Xyoff
- offset in Ypixer
- pixel iterator
public abstract void flush()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |