Paperpublic 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 | Description |
|---|---|
GlyphPaper(java.awt.Rectangle plotBounds) |
Constructor.
|
| Modifier and Type | Method | 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()
UnsupportedOperationExceptions.getPaperType in interface PaperCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.