com.vividsolutions.jump.workbench.ui.renderer.style
Class ImageFillPattern

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.style.BasicFillPattern
      extended by com.vividsolutions.jump.workbench.ui.renderer.style.ImageFillPattern
All Implemented Interfaces:
java.awt.Paint, java.awt.Transparency, java.lang.Cloneable

public class ImageFillPattern
extends BasicFillPattern

You can set the alpha by calling #setColor (only the alpha will be read)


Field Summary
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.BasicFillPattern
COLOR_KEY
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
ImageFillPattern()
          Parameterless constructor for Java2XML
ImageFillPattern(java.lang.Class c, java.lang.String resourceName)
           
 
Method Summary
 java.awt.image.BufferedImage createImage(Blackboard properties)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.BasicFillPattern
clone, createContext, equals, getProperties, getTransparency, setColor, setProperties
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFillPattern

public ImageFillPattern(java.lang.Class c,
                        java.lang.String resourceName)
Parameters:
resourceName - name of a resource associated with the given class (e.g. the name of a .png, .gif, or .jpg file in the same package as the class)

ImageFillPattern

public ImageFillPattern()
Parameterless constructor for Java2XML

Method Detail

createImage

public java.awt.image.BufferedImage createImage(Blackboard properties)
Specified by:
createImage in class BasicFillPattern