Modifier and Type | Field and Description |
---|---|
protected static FilterFactory2 |
FF |
protected AbstractSLDBuilder<?> |
parent |
protected StyleFactory |
sf |
protected boolean |
unset |
Constructor and Description |
---|
StrokeBuilder() |
StrokeBuilder(AbstractStyleBuilder<?> parent) |
protected StyleFactory sf
protected AbstractSLDBuilder<?> parent
protected static final FilterFactory2 FF
protected boolean unset
public StrokeBuilder()
public StrokeBuilder(AbstractStyleBuilder<?> parent)
public StrokeBuilder unset()
Builder
null
.
This method allows a Builder to be used as a placeholder; in its unset state the build()
method will produce null
. If any of the builder methods are used the builder
will produce a result.
public StrokeBuilder reset()
public StrokeBuilder reset(Stroke original)
Builder
public StrokeBuilder reset(Stroke stroke)
stroke
- public StrokeBuilder color(Expression color)
public StrokeBuilder color(Color color)
public StrokeBuilder color(String cqlExpression)
public StrokeBuilder colorHex(String hex)
public StrokeBuilder width(Expression width)
public StrokeBuilder width(double width)
public StrokeBuilder width(String cqlExpression)
public StrokeBuilder opacity(Expression opacity)
public StrokeBuilder opacity(double opacity)
public StrokeBuilder opacity(String cqlExpression)
public StrokeBuilder lineCap(Expression lineCap)
public StrokeBuilder lineCap(String cqlExpression)
public StrokeBuilder lineCapName(String cap)
public StrokeBuilder lineJoin(Expression lineJoin)
public StrokeBuilder lineJoin(String cqlExpression)
public StrokeBuilder lineJoinName(String join)
public StrokeBuilder dashArray(float... dashArray)
public StrokeBuilder dashArray(List<Expression> dashArrayExpressions)
public StrokeBuilder dashOffset(Expression dashOffset)
public StrokeBuilder dashOffset(double dashOffset)
public StrokeBuilder dashOffset(String cqlExpression)
public GraphicBuilder graphicStroke()
public GraphicBuilder fillBuilder()
public Stroke build()
Builder
protected void buildStyleInternal(StyleBuilder sb)
protected Expression literal(Object literal)
protected Expression property(String name)
protected Expression cqlExpression(String cql)
protected void buildSLDInternal(StyledLayerDescriptorBuilder sb)
public Style buildStyle()
public Object buildRoot()
protected void init(Builder<T> other)
public StyledLayerDescriptor buildSLD()
Copyright © 1996–2019 Geotools. All rights reserved.