uk.ac.starlink.ttools.plot2.layer
Class ShapeMode.ShadeStamper
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.ShapeMode.ShadeStamper
- All Implemented Interfaces:
- Stamper
- Enclosing class:
- ShapeMode
public static class ShapeMode.ShadeStamper
- extends Object
- implements Stamper
Stamper implementation for use with AuxShadingMode.
ShapeMode.ShadeStamper
public ShapeMode.ShadeStamper(Shader shader,
Scaling scaling,
Color baseColor,
Color nullColor,
float scaleAlpha)
- Constructor.
- Parameters:
shader
- colour shaderscaling
- scaling function from data to shade valuebaseColor
- colour to use for adjustments in case of
non-absolute shadernullColor
- colour to use for null aux coordinate,
if null omit such pointsscaleAlpha
- factor to scale output colour alpha by;
1 means opaque
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.