Class FontBuilder
Object
FontBuilder
-
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 voidprotected ExpressioncqlExpression(String cql) protected Filterfamily(Expression family) familyName(String family) protected voidprotected Expressionprotected Expressionreset()Configure the Builder to produce a default result.Configure the Builder to produce a copy of the provided original.size(double size) size(Expression size) style(Expression style) unset()Configure the Builder to producenull.weight(Expression weight) weightName(String weight)
-
Field Details
-
sf
-
parent
protected AbstractSLDBuilder<?> parent -
FF
-
unset
protected boolean unset
-
-
Constructor Details
-
FontBuilder
public FontBuilder() -
FontBuilder
-
-
Method Details
-
build
Description copied from interface:BuilderCreated object, may be null if unset()- Returns:
- Created object may be null if unset()
-
family
-
familyName
-
family
-
style
-
styleName
-
style
-
weight
-
weightName
-
weight
-
size
-
size
-
size
-
reset
Description copied from interface:BuilderConfigure the Builder to produce a default result.- Returns:
- Builder configured to produce a default result.
-
reset
Description copied from interface:BuilderConfigure the Builder to produce a copy of the provided original.- Parameters:
font- Original, if null this will behave the same as unset()- Returns:
- Builder configured to produce the provided original
-
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. -
buildStyleInternal
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-