| java.lang.Object org.deegree.graphics.sld.LabelPlacement
LabelPlacement | public class LabelPlacement implements Marshallable(Code) | | 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.
author: Katharina Lupp author: Markus Schneider version: $Revision: 9340 $ $Date: 2007-12-27 04:32:12 -0800 (Thu, 27 Dec 2007) $ |
LabelPlacement | public LabelPlacement(PointPlacement pointPlacement)(Code) | | constructor initializing the class with the
|
LabelPlacement | public LabelPlacement(LinePlacement linePlacement)(Code) | | constructor initializing the class with the
|
exportAsXML | public String exportAsXML()(Code) | | exports the content of the Font as XML formated String
xml representation of the Font |
getLinePlacement | public LinePlacement getLinePlacement()(Code) | | For a LinePlacement, a perpendicular offset can be specified, to allow the line itself to be
plotted also. This might be useful for labelling a road or a river, for example.
the lineplacement for the label |
getPointPlacement | public PointPlacement getPointPlacement()(Code) | | 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. This might
be useful to label a city, for example.
the pointplacement for the label |
setLinePlacement | public void setLinePlacement(LinePlacement linePlacement)(Code) | | sets
Parameters: linePlacement - the lineplacement for the label |
setPointPlacement | public void setPointPlacement(PointPlacement pointPlacement)(Code) | | sets
Parameters: pointPlacement - the pointplacement for the label |
|
|