protected abstract static class RgbPaperType2D.RgbPaper2D extends RgbPaperType.RgbPaper
Constructor and Description |
---|
RgbPaper2D(PaperType paperType,
java.awt.Rectangle bounds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
placePixels(int xoff,
int yoff,
Pixer pixer,
java.awt.Color color)
Paints the pixels of a pixel iterator in a given colour at a given
position.
|
flush, getBounds, getPaperType, getPixelIndex, getRgbImage, placeDecal
public RgbPaper2D(PaperType paperType, java.awt.Rectangle bounds)
paperType
- paper type instance creating this paperbounds
- plot boundsprotected abstract void placePixels(int xoff, int yoff, Pixer pixer, java.awt.Color color)
RgbPaperType.RgbPaper.getPixelIndex(int, int, uk.ac.starlink.ttools.plot2.Pixer)
method
to address the pixels of the RgbImage buffer.xoff
- X offsetyoff
- Y offsetpixer
- clipped pixel iterator, not nullcolor
- painting colourCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.