Class ImageFillPattern
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.renderer.style.BasicFillPattern
-
- org.locationtech.jts.jump.workbench.ui.renderer.style.ImageFillPattern
-
- All Implemented Interfaces:
Paint
,Transparency
,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 org.locationtech.jts.jump.workbench.ui.renderer.style.BasicFillPattern
COLOR_KEY
-
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
-
Constructor Summary
Constructors Constructor Description ImageFillPattern()
Parameterless constructor for Java2XMLImageFillPattern(Class c, String resourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
createImage(Blackboard properties)
-
Methods inherited from class org.locationtech.jts.jump.workbench.ui.renderer.style.BasicFillPattern
clone, createContext, equals, getProperties, getTransparency, setColor, setProperties
-
-
-
-
Constructor Detail
-
ImageFillPattern
public ImageFillPattern(Class c, 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 BufferedImage createImage(Blackboard properties)
- Specified by:
createImage
in classBasicFillPattern
-
-