|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.renderer.style.Style org.geotools.renderer.style.Style2D org.geotools.renderer.style.LineStyle2D org.geotools.renderer.style.PolygonStyle2D org.geotools.renderer.style.MarkStyle2D
Style to represent points as small filled and stroked shapes
Field Summary |
Fields inherited from class org.geotools.renderer.style.PolygonStyle2D |
fill, fillComposite |
Fields inherited from class org.geotools.renderer.style.LineStyle2D |
contour, contourComposite, stroke |
Fields inherited from class org.geotools.renderer.style.Style |
maxScale, minScale |
Constructor Summary | |
MarkStyle2D()
|
Method Summary | |
float |
getRotation()
Returns the shape rotation, in radians |
java.awt.Shape |
getShape()
Returns the shape to be used to render the mark |
int |
getSize()
Returns the size of the shape, in pixels |
java.awt.Shape |
getTransformedShape(float x,
float y)
Returns a shape that can be used to draw the mark at the x, y coordinates with appropriated rotation and size (according to the current style) |
void |
setRotation(float f)
Sets the shape rotation, in radians |
void |
setShape(java.awt.Shape shape)
Sets the shape to be used to render the mark |
void |
setSize(int i)
Sets the size of the shape, in pixels |
java.lang.String |
toString()
Returns a string representation of this style. |
Methods inherited from class org.geotools.renderer.style.PolygonStyle2D |
getFill, getFillComposite, setFill, setFillComposite |
Methods inherited from class org.geotools.renderer.style.LineStyle2D |
getContour, getContourComposite, getGraphicStroke, getStroke, setContour, setContourComposite, setGraphicStroke, setStroke |
Methods inherited from class org.geotools.renderer.style.Style |
getMaxScale, getMinScale, isScaleInRange, setMinMaxScale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MarkStyle2D()
Method Detail |
public float getRotation()
public java.awt.Shape getShape()
public java.awt.Shape getTransformedShape(float x, float y)
x
- the x coordinate where the mark will be drawny
- the y coordinate where the mark will be drawn
public int getSize()
public void setRotation(float f)
f
- public void setShape(java.awt.Shape shape)
shape
- public void setSize(int i)
i
- public java.lang.String toString()
toString
in class PolygonStyle2D
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |