uk.ac.starlink.ttools.plot2.layer
Class ShapeMode.DensityStamper

java.lang.Object
  extended by uk.ac.starlink.ttools.plot2.layer.ShapeMode.DensityStamper
All Implemented Interfaces:
Stamper
Enclosing class:
ShapeMode

public static class ShapeMode.DensityStamper
extends Object
implements Stamper

Stamper implementation for density mode.


Constructor Summary
ShapeMode.DensityStamper(Shader shader, Scaling scaling)
          Constructor.
 
Method Summary
 Icon createLegendIcon(Outliner outliner)
          Returns an icon for use in a legend given an outline shape.
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeMode.DensityStamper

public ShapeMode.DensityStamper(Shader shader,
                                Scaling scaling)
Constructor.

Parameters:
shader - colour shader
scaling - count scaling strategy
Method Detail

createLegendIcon

public Icon createLegendIcon(Outliner outliner)
Description copied from interface: Stamper
Returns an icon for use in a legend given an outline shape.

Specified by:
createLegendIcon in interface Stamper
Parameters:
outliner - outline shape
Returns:
icon

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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