org.geotools.renderer.style
Class GraphicStyle2D
Object
Style
Style2D
GraphicStyle2D
public class GraphicStyle2D
- extends Style2D
A style class used to depict a point, polygon centroid or line with a small graphic icon
- Author:
- Andrea Aime
- Module:
modules/library/render (gt-render.jar)
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicStyle2D
public GraphicStyle2D(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 BufferedImage getImage()
getOpacity
public float getOpacity()
getRotation
public float getRotation()
setImage
public void setImage(BufferedImage image)
- Parameters:
image
-
setOpacity
public void setOpacity(float f)
- Parameters:
f
-
setRotation
public void setRotation(float f)
- Parameters:
f
-
Copyright © 1996-2010 Geotools. All Rights Reserved.