public class PolygonSymbolizerImpl extends AbstractSymbolizer implements PolygonSymbolizer, Cloneable
description, geometry, name, options, unitOfMeasure
GRAPHIC_MARGIN_KEY
Modifier | Constructor and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
getName, getUnitOfMeasure
protected PolygonSymbolizerImpl()
protected PolygonSymbolizerImpl(Stroke stroke, Fill fill, Displacement disp, Expression offset, Unit<Length> uom, String geom, String name, Description desc)
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
Copyright © 1996–2019 Geotools. All rights reserved.