public interface LinePlacement extends LinePlacement, LabelPlacement
The details of this object are taken from the OGC Styled-Layer Descriptor Report (OGC 02-070) version 1.0.0.:
<xsd:element name="LinePlacement">
<xsd:annotation>
<xsd:documentation>
A "LinePlacement" specifies how a text label should be rendered
relative to a linear geometry.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="sld:PerpendicularOffset" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
$Id$
Modifier and Type | Method and Description |
---|---|
Expression |
getPerpendicularOffset()
Returns the expression that is used to compute how far from the lines the text will be drawn.
|
boolean |
isAligned()
Correct method name violation from GeoAPI.
|
boolean |
IsAligned()
Deprecated.
|
void |
setAligned(boolean aligned) |
void |
setGap(Expression gap) |
void |
setGeneralized(boolean generalized) |
void |
setInitialGap(Expression initialGap) |
void |
setPerpendicularOffset(Expression offset)
Sets the expression that is used to compute how far from the lines the text will be drawn.
|
void |
setRepeated(boolean repeated) |
accept, getGap, getInitialGap, isGeneralizeLine, isRepeated
accept
boolean IsAligned()
LinePlacement
IsAligned
in interface LinePlacement
boolean isAligned()
Expression getPerpendicularOffset()
getPerpendicularOffset
in interface LinePlacement
void setPerpendicularOffset(Expression offset)
getPerpendicularOffset()
for details.offset
- void setRepeated(boolean repeated)
void setGeneralized(boolean generalized)
void setAligned(boolean aligned)
void setGap(Expression gap)
void setInitialGap(Expression initialGap)
Copyright © 1996–2019 Geotools. All rights reserved.