Package org.geotools.api.style
Interface OtherText
-
- All Known Implementing Classes:
OtherTextImpl
public interface OtherText
Allows open ended extensions for text oriented rendering formats. For example, with target="kml:extrude" one could specify the height of a building in KML and activate 3D rendering, or with "kml:time" one could specify the time or timespan associated to the- Author:
- Andrea Aime - TOPP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getTarget()
The target location for the text.Expression
getText()
The text expression to be used in the specified location.void
setTarget(String target)
void
setText(Expression otherText)
-
-
-
Method Detail
-
getTarget
String getTarget()
The target location for the text. It can be anything, but it's up to the renderer to decide whether it can be used or not (some paths can be used, others are not understood)
-
setTarget
void setTarget(String target)
-
getText
Expression getText()
The text expression to be used in the specified location. Normally it should be a string, but a renderer may accept something different (a number, a date)
-
setText
void setText(Expression otherText)
-
-