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
Modifier and TypeMethodDescriptionThe target location for the text.getText()
The text expression to be used in the specified location.void
void
setText
(Expression otherText)
-
Method Details
-
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
-
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
-