@XmlElement(value="LinePlacement") public interface LinePlacement extends LabelPlacement
Modifier and Type | Method and Description |
---|---|
Object |
accept(StyleVisitor visitor,
Object extraData)
calls the visit method of a StyleVisitor
|
Expression |
getGap()
Gap gives the distance between two graphics.
|
Expression |
getInitialGap()
InitialGap specifies how far away the first graphic will be drawn relative to the start of
the rendering line
|
Expression |
getPerpendicularOffset()
The PerpendicularOffset element of a LinePlacement gives the perpendicular distance away from
a line to draw a label.
|
boolean |
isAligned()
Labels can either be aligned to the line geometry if IsAligned is "true" (the default) or are
drawn horizontally.
|
boolean |
isGeneralizeLine()
GeneralizeLine allows the actual geometry, be it a linestring or polygon to be generalized
for label placement.
|
boolean |
isRepeated()
If IsRepeated is "true", the label will be repeatedly drawn along the line with InitialGap
and Gap defining the spaces at the beginning and between labels.
|
@XmlElement(value="PerpendicularOffset") Expression getPerpendicularOffset()
The distance is in uoms and is positive to the left-hand side of the line string. Negative numbers mean right. The default offset is 0.
@XmlElement(value="InitialGap") Expression getInitialGap()
@XmlElement(value="Gap") Expression getGap()
@XmlElement(value="IsRepeated") boolean isRepeated()
@XmlElement(value="IsAligned") boolean isAligned()
@XmlElement(value="GeneralizeLine") boolean isGeneralizeLine()
@Extension Object accept(StyleVisitor visitor, Object extraData)
accept
in interface LabelPlacement
visitor
- the style visitorCopyright © 1996–2023 Geotools. All rights reserved.