|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.AbstractSymbolizer
org.geotools.styling.PolygonSymbolizerImpl
public class PolygonSymbolizerImpl
Provides a representation of a PolygonSymbolizer in an SLD Document. A PolygonSymbolizer defines how a polygon geometry should be rendered.
Field Summary |
---|
Fields inherited from class org.geotools.styling.AbstractSymbolizer |
---|
description, geometry, name, unitOfMeasure |
Constructor Summary | |
---|---|
protected |
PolygonSymbolizerImpl()
Creates a new instance of DefaultPolygonStyler |
protected |
PolygonSymbolizerImpl(Stroke stroke,
Fill fill,
Displacement disp,
org.opengis.filter.expression.Expression offset,
javax.measure.unit.Unit<javax.measure.quantity.Length> uom,
java.lang.String geom,
java.lang.String name,
Description desc)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object data)
Accepts a StyleVisitor to perform some operation on this LineSymbolizer. |
java.lang.Object |
clone()
Creates a deep copy clone. |
boolean |
equals(java.lang.Object obj)
|
Displacement |
getDisplacement()
Displacement from the original geometry in pixels. |
Fill |
getFill()
Provides the graphical-symbolization parameter to use to fill the area of the geometry. |
org.opengis.filter.expression.Expression |
getPerpendicularOffset()
|
StrokeImpl |
getStroke()
Provides the graphical-symbolization parameter to use for the outline of the Polygon. |
int |
hashCode()
|
void |
setDisplacement(org.opengis.style.Displacement displacement)
Provide x / y offset in pixels used to crate shadows. |
void |
setFill(org.opengis.style.Fill fill)
Sets the graphical-symbolization parameter to use to fill the area of the geometry. |
void |
setPerpendicularOffset(org.opengis.filter.expression.Expression offset)
PerpendicularOffset works as defined for LineSymbolizer, allowing to draw polygons smaller or larger than their actual geometry. |
void |
setStroke(org.opengis.style.Stroke stroke)
Sets the graphical-symbolization parameter to use for the outline of the Polygon. |
Methods inherited from class org.geotools.styling.AbstractSymbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getName, getUnitOfMeasure, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.styling.Symbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from interface org.opengis.style.Symbolizer |
---|
getName, getUnitOfMeasure |
Constructor Detail |
---|
protected PolygonSymbolizerImpl()
protected PolygonSymbolizerImpl(Stroke stroke, Fill fill, Displacement disp, org.opengis.filter.expression.Expression offset, javax.measure.unit.Unit<javax.measure.quantity.Length> uom, java.lang.String geom, java.lang.String name, Description desc)
Method Detail |
---|
public org.opengis.filter.expression.Expression getPerpendicularOffset()
getPerpendicularOffset
in interface org.opengis.style.PolygonSymbolizer
public void setPerpendicularOffset(org.opengis.filter.expression.Expression offset)
PolygonSymbolizer
offset
- Offset from the edge polygon positive outside; negative to the inside with a default of 0.public Displacement getDisplacement()
PolygonSymbolizer
getDisplacement
in interface org.opengis.style.PolygonSymbolizer
public void setDisplacement(org.opengis.style.Displacement displacement)
PolygonSymbolizer
public Fill getFill()
getFill
in interface org.opengis.style.PolygonSymbolizer
public void setFill(org.opengis.style.Fill fill)
fill
- The Fill style to use when rendering the area.public StrokeImpl getStroke()
getStroke
in interface org.opengis.style.PolygonSymbolizer
public void setStroke(org.opengis.style.Stroke stroke)
stroke
- The Stroke style to use when rendering lines.public java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
accept
in interface org.opengis.style.PolygonSymbolizer
accept
in interface org.opengis.style.Symbolizer
visitor
- The visitor to accept.public void accept(StyleVisitor visitor)
public java.lang.Object clone()
clone
in class java.lang.Object
java.lang.RuntimeException
- DOCUMENT ME!public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(java.lang.Object obj)
equals
in class AbstractSymbolizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |