org.geotools.renderer.style
Class GraphicStyle2D
java.lang.Object
org.geotools.renderer.style.Style
org.geotools.renderer.style.Style2D
org.geotools.renderer.style.GraphicStyle2D
- public class GraphicStyle2D
- extends Style2D
A style class used to depict a point, polygon centroid or line with a small graphic icon
- Version:
- $Id: GraphicStyle2D.java 17703 2006-01-23 00:12:44Z desruisseaux $
- Author:
- Andrea Aime
Constructor Summary |
GraphicStyle2D(java.awt.image.BufferedImage image,
float rotation,
float opacity)
Creates a new GraphicStyle2D object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicStyle2D
public GraphicStyle2D(java.awt.image.BufferedImage image,
float rotation,
float opacity)
- Creates a new GraphicStyle2D object.
- Parameters:
image
- The image that will be used to depict the centroid/point/...rotation
- The image rotationopacity
- The image opacity
getImage
public java.awt.image.BufferedImage getImage()
- Returns:
getOpacity
public float getOpacity()
- Returns:
getRotation
public float getRotation()
- Returns:
setImage
public void setImage(java.awt.image.BufferedImage image)
- Parameters:
image
-
setOpacity
public void setOpacity(float f)
- Parameters:
f
-
setRotation
public void setRotation(float f)
- Parameters:
f
-
Copyright © GeoTools. All Rights Reserved.