|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@XmlElement(value="LinePlacement") public interface LinePlacement
The "LinePlacement" specifies where and how a text label should be rendered relative to a line.
Method Summary | |
---|---|
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. |
Method Detail |
---|
@XmlElement(value="PerpendicularOffset") Expression getPerpendicularOffset()
@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 visitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |