Paper
protected abstract static class RgbPaperType2D.RgbPaper2D extends RgbPaperType.RgbPaper
Constructor | Description |
---|---|
RgbPaper2D(PaperType paperType,
java.awt.Rectangle bounds) |
Constructor.
|
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 © 2018 Central Laboratory of the Research Councils. All Rights Reserved.