Class StrokeBuilder
Object
StrokeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final FilterFactory
protected AbstractSLDBuilder<?>
protected StyleFactory
protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Created object, may be null if unset()buildSLD()
protected void
protected void
color
(Expression color) protected Expression
cqlExpression
(String cql) protected Filter
dashArray
(float... dashArray) dashArray
(List<Expression> dashArrayExpressions) dashOffset
(double dashOffset) dashOffset
(String cqlExpression) dashOffset
(Expression dashOffset) protected void
lineCap
(Expression lineCap) lineCapName
(String cap) lineJoin
(Expression lineJoin) lineJoinName
(String join) protected Expression
opacity
(double opacity) opacity
(Expression opacity) protected Expression
reset()
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:Builder
Configure 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:Builder
Created object, may be null if unset()- Returns:
- Created object may be null if unset()
-
buildStyleInternal
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-