|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractSymbolizer
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 AbstractSymbolizer |
---|
description, geometry, name, options, unitOfMeasure |
Constructor Summary | |
---|---|
protected |
PolygonSymbolizerImpl()
Creates a new instance of DefaultPolygonStyler |
protected |
PolygonSymbolizerImpl(Stroke stroke,
Fill fill,
Displacement disp,
Expression offset,
Unit<Length> uom,
String geom,
String name,
Description desc)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
accept(StyleVisitor visitor,
Object data)
Accepts a StyleVisitor to perform some operation on this LineSymbolizer. |
Object |
clone()
Creates a deep copy clone. |
boolean |
equals(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. |
Expression |
getPerpendicularOffset()
PerpendicularOffset works as defined for LineSymbolizer, allowing to draw polygons smaller or larger than their actual geometry. |
StrokeImpl |
getStroke()
Provides the graphical-symbolization parameter to use for the outline of the Polygon. |
int |
hashCode()
|
void |
setDisplacement(Displacement displacement)
Provide x / y offset in pixels used to crate shadows. |
void |
setFill(Fill fill)
Sets the graphical-symbolization parameter to use to fill the area of the geometry. |
void |
setPerpendicularOffset(Expression offset)
PerpendicularOffset works as defined for LineSymbolizer, allowing to draw polygons smaller or larger than their actual geometry. |
void |
setStroke(Stroke stroke)
Sets the graphical-symbolization parameter to use for the outline of the Polygon. |
Methods inherited from class AbstractSymbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Symbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from interface Symbolizer |
---|
getName, getUnitOfMeasure |
Constructor Detail |
---|
protected PolygonSymbolizerImpl()
protected PolygonSymbolizerImpl(Stroke stroke, Fill fill, Displacement disp, Expression offset, Unit<Length> uom, String geom, String name, Description desc)
Method Detail |
---|
public Expression getPerpendicularOffset()
PolygonSymbolizer
getPerpendicularOffset
in interface PolygonSymbolizer
public void setPerpendicularOffset(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 PolygonSymbolizer
public void setDisplacement(Displacement displacement)
PolygonSymbolizer
public Fill getFill()
getFill
in interface PolygonSymbolizer
public void setFill(Fill fill)
fill
- The Fill style to use when rendering the area.public StrokeImpl getStroke()
getStroke
in interface PolygonSymbolizer
public void setStroke(Stroke stroke)
stroke
- The Stroke style to use when rendering lines.public Object accept(StyleVisitor visitor, Object data)
accept
in interface PolygonSymbolizer
accept
in interface Symbolizer
visitor
- The visitor to accept.
public void accept(StyleVisitor visitor)
public Object clone()
clone
in class Object
RuntimeException
- DOCUMENT ME!Object.clone()
public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(Object obj)
equals
in class AbstractSymbolizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |