Modifier and Type | Field and Description |
---|---|
protected static FilterFactory2 |
FF |
protected AbstractSLDBuilder<?> |
parent |
protected StyleFactory |
sf |
protected boolean |
unset |
Constructor and Description |
---|
FontBuilder() |
FontBuilder(TextSymbolizerBuilder parent) |
protected StyleFactory sf
protected AbstractSLDBuilder<?> parent
protected static final FilterFactory2 FF
protected boolean unset
public FontBuilder()
public FontBuilder(TextSymbolizerBuilder parent)
public Font build()
Builder
public FontBuilder family(Expression family)
public FontBuilder familyName(String family)
public FontBuilder family(String cqlExpression)
public FontBuilder style(Expression style)
public FontBuilder styleName(String style)
public FontBuilder style(String cqlExpression)
public FontBuilder weight(Expression weight)
public FontBuilder weightName(String weight)
public FontBuilder weight(String cqlExpression)
public FontBuilder size(Expression size)
public FontBuilder size(double size)
public FontBuilder size(String cqlExpression)
public FontBuilder reset()
Builder
public FontBuilder reset(Font font)
Builder
public FontBuilder 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.
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.