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

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

public static class ShapeMode.WeightStamper
extends Object
implements Stamper

Stamper implementation for use with WeightedShadingMode.


Constructor Summary
ShapeMode.WeightStamper(Shader shader, Scaling scaling, Combiner combiner)
          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.WeightStamper

public ShapeMode.WeightStamper(Shader shader,
                               Scaling scaling,
                               Combiner combiner)
Constructor.

Parameters:
shader - colour shader
scaling - count scaling strategy
combiner - combiner
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 © 2017 Central Laboratory of the Research Councils. All Rights Reserved.