Class StrokeBuilder
Object
StrokeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final FilterFactoryprotected AbstractSLDBuilder<?>protected StyleFactoryprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Created object, may be null if unset()buildSLD()protected voidprotected voidcolor(Expression color) protected ExpressioncqlExpression(String cql) protected FilterdashArray(float... dashArray) dashArray(List<Expression> dashArrayExpressions) dashOffset(double dashOffset) dashOffset(String cqlExpression) dashOffset(Expression dashOffset) protected voidlineCap(Expression lineCap) lineCapName(String cap) lineJoin(Expression lineJoin) lineJoinName(String join) protected Expressionopacity(double opacity) opacity(Expression opacity) protected Expressionreset()Reset stroke to default values.Reset builder to provided original stroke.unset()Configure the Builder to producenull.width(double width) width(Expression width)
-
Field Details
-
sf
-
parent
protected AbstractSLDBuilder<?> parent -
FF
-
unset
protected boolean unset
-
-
Constructor Details
-
StrokeBuilder
public StrokeBuilder() -
StrokeBuilder
public StrokeBuilder(AbstractStyleBuilder<?> parent)
-
-
Method Details
-
unset
Description copied from interface:BuilderConfigure the Builder to producenull.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. -
reset
Reset stroke to default values.- Returns:
- Builder configured to produce a default result.
-
reset
Reset builder to provided original stroke.- Parameters:
stroke- Original, if null this will behave the same as unset()- Returns:
- Builder configured to produce the provided original
-
color
-
color
-
color
-
colorHex
-
width
-
width
-
width
-
opacity
-
opacity
-
opacity
-
lineCap
-
lineCap
-
lineCapName
-
lineJoin
-
lineJoin
-
lineJoinName
-
dashArray
-
dashArray
-
dashOffset
-
dashOffset
-
dashOffset
-
graphicStroke
-
fillBuilder
-
build
Description copied from interface:BuilderCreated object, may be null if unset()- Returns:
- Created object may be null if unset()
-
buildStyleInternal
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-