uk.ac.starlink.ttools.plot2.paper
Class CompositePaperType2D

java.lang.Object
  extended by uk.ac.starlink.ttools.plot2.paper.RgbPaperType
      extended by uk.ac.starlink.ttools.plot2.paper.RgbPaperType2D
          extended by 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
CompositePaperType2D(Compositor compositor)
          Constructor.
 
Method Summary
protected  RgbPaperType2D.RgbPaper2D createPaper2D(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(Rectangle bounds)
Description copied from class: RgbPaperType2D
Creates a 2D paper object for given bounds.

Specified by:
createPaper2D in class RgbPaperType2D
Parameters:
bounds - plot bounds
Returns:
new 2d paper instance


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.