Class CompositePaperType2D
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.paper.RgbPaperType
-
- uk.ac.starlink.ttools.plot2.paper.RgbPaperType2D
-
- uk.ac.starlink.ttools.plot2.paper.CompositePaperType2D
-
- All Implemented Interfaces:
PaperType
,PaperType2D
public class CompositePaperType2D extends RgbPaperType2D
Bitmapped 2D PaperType which can render any combination of coloured, opaque and transparent pixels.- Since:
- 14 Feb 2013
- Author:
- Mark Taylor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType2D
RgbPaperType2D.RgbPaper2D
-
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType
RgbPaperType.RgbPaper
-
-
Constructor Summary
Constructors Constructor Description CompositePaperType2D(Compositor compositor)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RgbPaperType2D.RgbPaper2D
createPaper2D(java.awt.Rectangle bounds)
Creates a 2D paper object for given bounds.-
Methods inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType2D
createPaper, placeGlyph
-
Methods inherited from class uk.ac.starlink.ttools.plot2.paper.RgbPaperType
createDataIcon, isBitmap, placeDecal, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface uk.ac.starlink.ttools.plot2.paper.PaperType
createDataIcon, isBitmap, placeDecal
-
-
-
-
Constructor Detail
-
CompositePaperType2D
public CompositePaperType2D(Compositor compositor)
Constructor.- Parameters:
compositor
- compositing strategy for combining transparent pixels
-
-
Method Detail
-
createPaper2D
protected RgbPaperType2D.RgbPaper2D createPaper2D(java.awt.Rectangle bounds)
Description copied from class:RgbPaperType2D
Creates a 2D paper object for given bounds.- Specified by:
createPaper2D
in classRgbPaperType2D
- Parameters:
bounds
- plot bounds- Returns:
- new 2d paper instance
-
-