public class SLDStroke
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SLDExpression |
color |
protected java.util.List<java.lang.Float> |
dashArray |
protected SLDExpression |
dashOffset |
static java.text.DecimalFormat |
df |
protected SLDGraphic |
graphic
Used when not STROKE_TYPE_SOLID
Means a graphicFill or graphicStroke depending on the type
of stroke
|
protected java.lang.Double |
graphicStrokeGap
Used for STROKE_TYPE_GRAPHIC_STROKE
|
protected java.lang.Double |
graphicStrokeInitialGap
Used for STROKE_TYPE_GRAPHIC_STROKE
|
protected SLDExpression |
lineCap |
protected SLDExpression |
lineJoin |
protected SLDExpression |
opacity |
static int |
STROKE_TYPE_GRAPHIC_FILL |
static int |
STROKE_TYPE_GRAPHIC_STROKE |
static int |
STROKE_TYPE_SOLID |
protected int |
strokeType |
protected SLDExpression |
width |
Constructor and Description |
---|
SLDStroke() |
public static final int STROKE_TYPE_SOLID
public static final int STROKE_TYPE_GRAPHIC_FILL
public static final int STROKE_TYPE_GRAPHIC_STROKE
protected int strokeType
public static java.text.DecimalFormat df
protected SLDExpression width
protected SLDExpression color
protected SLDExpression opacity
protected SLDExpression lineJoin
protected SLDExpression lineCap
protected SLDExpression dashOffset
protected java.util.List<java.lang.Float> dashArray
protected java.lang.Double graphicStrokeInitialGap
protected java.lang.Double graphicStrokeGap
protected SLDGraphic graphic
public void setStrokeType(int t)
public int getStrokeType()
public java.util.List<java.lang.Float> getDashArray()
public SLDExpression getWidth()
public void setWidth(SLDExpression w)
public void setWidth(double w)
public SLDExpression getColor()
public void setColor(SLDExpression c)
public void setColor(java.awt.Color c)
public SLDExpression getOpacity()
public void setOpacity(SLDExpression o)
public void setOpacity(double opa)
public SLDExpression getLineJoin()
public void setLineJoin(SLDExpression j)
public SLDExpression getLineCap()
public void setLineCap(SLDExpression c)
public SLDExpression getDashOffset()
public void setDashOffset(SLDExpression doff)
public java.lang.Double getGraphicStrokeInitialGap()
public void setGraphicStrokeInitialGap(java.lang.Double g)
public java.lang.Double getGraphicStrokeGap()
public void setGraphicStrokeGap(java.lang.Double g)
public SLDGraphic getGraphic()
public void setGraphic(SLDGraphic g)
public static java.lang.String toHexadecimal(java.awt.Color co, int length, java.lang.String prefix)
co
- length
- prefix
-