org.geotools.styling
Interface TextMark

All Superinterfaces:
org.opengis.style.GraphicalSymbol, org.opengis.style.Mark, Symbol
All Known Implementing Classes:
TextMarkImpl

Deprecated. Please use a ExternalMark.getMarkIndex() to pick out a character from a true type font

public interface TextMark
extends Mark

Note: this isn't in the SLD specification - it was added to work with characters symbol sets.

As of Symbology Encoding 1.1 specificationt here is a clean way to work with character symbols - using an ExternalMark.getMarkIndex() to indicate which character to use.


Field Summary
 
Fields inherited from interface org.geotools.styling.Mark
MARKS_EMPTY
 
Fields inherited from interface org.geotools.styling.Symbol
SYMBOLS_EMPTY
 
Method Summary
 void addFont(Font font)
          Deprecated.  
 Font[] getFonts()
          Deprecated.  
 org.opengis.filter.expression.Expression getSymbol()
          Deprecated.  
 org.opengis.filter.expression.Expression getWellKnownName()
          Deprecated. This parameter gives the well-known name of the shape of the mark.
Allowed names include at least "square", "circle", "triangle", "star", "cross" and "x" though renderers may draw a different symbol instead if they don't have a shape for all of these.
 void setSymbol(org.opengis.filter.expression.Expression symbol)
          Deprecated.  
 void setSymbol(java.lang.String symbol)
          Deprecated.  
 void setWellKnownName(org.opengis.filter.expression.Expression wellKnownName)
          Deprecated. This parameter gives the well-known name of the shape of the mark.
Allowed names include at least "square", "circle", "triangle", "star", "cross" and "x" though renderers may draw a different symbol instead if they don't have a shape for all of these.
 
Methods inherited from interface org.geotools.styling.Mark
accept, getExternalMark, getFill, getRotation, getSize, getStroke, setExternalMark, setFill, setRotation, setSize, setStroke
 
Methods inherited from interface org.opengis.style.Mark
accept
 

Method Detail

getSymbol

org.opengis.filter.expression.Expression getSymbol()
Deprecated. 

setSymbol

void setSymbol(java.lang.String symbol)
Deprecated. 

getFonts

Font[] getFonts()
Deprecated. 

setWellKnownName

void setWellKnownName(org.opengis.filter.expression.Expression wellKnownName)
Deprecated. 
Description copied from interface: Mark
This parameter gives the well-known name of the shape of the mark.
Allowed names include at least "square", "circle", "triangle", "star", "cross" and "x" though renderers may draw a different symbol instead if they don't have a shape for all of these.

Parameters:
wellKnownName - The well-known name of a shape. The default value is "square".

getWellKnownName

org.opengis.filter.expression.Expression getWellKnownName()
Deprecated. 
Description copied from interface: Mark
This parameter gives the well-known name of the shape of the mark.
Allowed names include at least "square", "circle", "triangle", "star", "cross" and "x" though renderers may draw a different symbol instead if they don't have a shape for all of these.

Specified by:
getWellKnownName in interface org.opengis.style.Mark
Returns:
The well-known name of a shape. The default value is "square".

addFont

void addFont(Font font)
Deprecated. 

setSymbol

void setSymbol(org.opengis.filter.expression.Expression symbol)
Deprecated. 


Copyright © 1996-2010 Geotools. All Rights Reserved.