Class ShapeMode.AutoTransparentStamper

  • All Implemented Interfaces:
    Stamper
    Enclosing class:
    ShapeMode

    public static class ShapeMode.AutoTransparentStamper
    extends java.lang.Object
    implements Stamper
    Stamper implementation for auto transparency.
    • Constructor Summary

      Constructors 
      Constructor Description
      AutoTransparentStamper​(java.awt.Color color, double level)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.Icon createLegendIcon​(Outliner outliner)
      Returns an icon for use in a legend given an outline shape.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AutoTransparentStamper

        public AutoTransparentStamper​(java.awt.Color color,
                                      double level)
        Constructor.
        Parameters:
        color - base (opaque) colour
        level - transparency level
    • Method Detail

      • createLegendIcon

        public javax.swing.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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object