|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.sld.LabelPlacement
public class LabelPlacement
Used to position a label relative to a point or a line string. For a point, you can specify the anchor point of the label and a linear displacement from the point (so that you can also plot a graphic symbol at the point). For a line-string placement, you can specify a perpendicular offset (so you can draw a stroke on the line). MORE PARAMETERS ARE PROBABLY NEEDED HERE.
Constructor Summary | |
---|---|
LabelPlacement(LinePlacement linePlacement)
constructor initializing the class with the |
|
LabelPlacement(PointPlacement pointPlacement)
constructor initializing the class with the |
Method Summary | |
---|---|
java.lang.String |
exportAsXML()
exports the content of the Font as XML formated String |
LinePlacement |
getLinePlacement()
For a LinePlacement, a perpendicular offset can be specified, to allow the line itself to be plotted also. |
PointPlacement |
getPointPlacement()
For a PointPlacement, the anchor point of the label and a linear displacement from the point can be specified, to allow a graphic symbol to be plotted directly at the point. |
void |
setLinePlacement(LinePlacement linePlacement)
sets |
void |
setPointPlacement(PointPlacement pointPlacement)
sets |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelPlacement(PointPlacement pointPlacement)
pointPlacement
- public LabelPlacement(LinePlacement linePlacement)
linePlacement
- Method Detail |
---|
public PointPlacement getPointPlacement()
public void setPointPlacement(PointPlacement pointPlacement)
pointPlacement
- the pointplacement for the labelpublic LinePlacement getLinePlacement()
public void setLinePlacement(LinePlacement linePlacement)
linePlacement
- the lineplacement for the labelpublic java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org