public abstract class GlyphPaper extends java.lang.Object implements Paper
Paper
interface
which means it can be painted on by a ShapePainter
.
Concrete subclasses are handed a Pixer giving the pixels actually
painted by each received glyph.Constructor and Description |
---|
GlyphPaper(java.awt.Rectangle plotBounds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PaperType2D |
getPaperType()
Returns a partial PaperType implementation to use with this object.
|
abstract void |
glyphPixels(Pixer pixer)
For each glyph painted on this paper, a pixer will be passed to
this method that iterates over all the pixels within this paper's bounds.
|
public GlyphPaper(java.awt.Rectangle plotBounds)
plotBounds
- bounds within which all pixels must be containedpublic abstract void glyphPixels(Pixer pixer)
pixer
- pixel iteratorpublic PaperType2D getPaperType()
UnsupportedOperationException
s.getPaperType
in interface Paper
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.