Class ImagePatternFill

  • All Implemented Interfaces:
    OverlayLayer

    public class ImagePatternFill
    extends java.lang.Object
    implements OverlayLayer
    Fills the area with a solid fill at some transparency level.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getAlpha()  
      java.lang.String getImageName()  
      boolean isAnimated()  
      void paintOverlay​(javax.swing.JComponent comp, java.awt.Graphics2D g, java.awt.Rectangle rect, float animationValue)  
      void setAlpha​(float alpha)  
      void setImageName​(java.lang.String imageName)  
      • Methods inherited from class java.lang.Object

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

      • ImagePatternFill

        public ImagePatternFill​(java.lang.String image,
                                float alpha)
      • ImagePatternFill

        public ImagePatternFill()
        Ctor for serialization
    • Method Detail

      • paintOverlay

        public void paintOverlay​(javax.swing.JComponent comp,
                                 java.awt.Graphics2D g,
                                 java.awt.Rectangle rect,
                                 float animationValue)
        Specified by:
        paintOverlay in interface OverlayLayer
      • getImageName

        public java.lang.String getImageName()
      • setImageName

        public void setImageName​(java.lang.String imageName)
      • getAlpha

        public float getAlpha()
      • setAlpha

        public void setAlpha​(float alpha)