public class Stroke extends Object
SLD Stroke object. Allows to specify stroke color, opacity, width, line pattern and join/cap styles.
Modifier and Type | Field and Description |
---|---|
protected Color |
color |
protected ScalarParameter |
dasharray |
protected ScalarParameter |
dashoffset |
protected Graphic |
graphicFill |
protected Graphic |
graphicStroke |
protected ScalarParameter |
linecap |
protected ScalarParameter |
linejoin |
protected ScalarParameter |
opacity |
protected boolean |
smooth |
protected ScalarParameter |
width |
Constructor and Description |
---|
Stroke() |
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
ScalarParameter |
getDasharray() |
ScalarParameter |
getDashoffset() |
Graphic |
getGraphicFill() |
Graphic |
getGraphicStroke() |
ScalarParameter |
getLinecap() |
ScalarParameter |
getLinejoin() |
ScalarParameter |
getOpacity() |
boolean |
getSmooth() |
ScalarParameter |
getWidth() |
void |
setColor(Color color) |
void |
setDasharray(ScalarParameter dasharray) |
void |
setDashoffset(ScalarParameter dashoffset) |
void |
setGraphicFill(Graphic graphicFill) |
void |
setGraphicStroke(Graphic graphicStroke) |
void |
setLinecap(ScalarParameter linecap) |
void |
setLinejoin(ScalarParameter linejoin) |
void |
setOpacity(ScalarParameter opacity) |
void |
setSmooth(boolean smooth) |
void |
setWidth(ScalarParameter width) |
protected Graphic graphicStroke
protected Graphic graphicFill
protected Color color
protected ScalarParameter opacity
protected ScalarParameter width
protected ScalarParameter linejoin
protected ScalarParameter linecap
protected ScalarParameter dasharray
protected ScalarParameter dashoffset
protected boolean smooth
public Color getColor()
public void setColor(Color color)
public ScalarParameter getDasharray()
public void setDasharray(ScalarParameter dasharray)
public ScalarParameter getDashoffset()
public void setDashoffset(ScalarParameter dashoffset)
public Graphic getGraphicFill()
public void setGraphicFill(Graphic graphicFill)
public Graphic getGraphicStroke()
public void setGraphicStroke(Graphic graphicStroke)
public ScalarParameter getLinecap()
public void setLinecap(ScalarParameter linecap)
public ScalarParameter getLinejoin()
public void setLinejoin(ScalarParameter linejoin)
public ScalarParameter getOpacity()
public void setOpacity(ScalarParameter opacity)
public ScalarParameter getWidth()
public void setWidth(ScalarParameter width)
public boolean getSmooth()
public void setSmooth(boolean smooth)
Copyright © 2016 Sensia Software LLC. All rights reserved.