/*$************************************************************************************************
**
** $Id: LinePlacement.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/sld/LinePlacement.java $
**
** Copyright (C) 2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.sld;
// OpenGIS direct dependencies
import org.opengis.filter.expression.Expression;
// Annotations
import org.opengis.annotation.XmlElement;
/**
* Helds by a {@link TextSymbol} to indicate that text should be drawn at some distance
* from a line.
*
* @version Implementation specification 1.0
* @author Chris Dillard (SYS Technologies)
* @since GeoAPI 2.0
*/
@XmlElement("PointPlacement")
public interface LinePlacement extends TextPlacement {
/**
* Returns the expression that is used to compute how far from the lines
* the text will be drawn. The distance must evaluate to a non-negative
* number.
*/
@XmlElement("PerpendicularOffset")
Expression getPerpendicularOffset();
/**
* Sets the expression that is used to compute how far from the lines
* the text will be drawn.
* See {@link #getPerpendicularOffset} for details.
*/
@XmlElement("PerpendicularOffset")
void setPerpendicularOffset(Expression e);
}
Ads help maintain this website.