org.geotools.styling
Interface TextMark

All Superinterfaces:
Mark, Symbol
All Known Implementing Classes:
TextMarkImpl

public interface TextMark
extends Mark

Note: this isn't in the SLD specification.

Module:

Field Summary
 
Fields inherited from interface Mark
MARKS_EMPTY
 
Fields inherited from interface Symbol
SYMBOLS_EMPTY
 
Method Summary
 void addFont(Font font)
           
 Font[] getFonts()
           
 Expression getSymbol()
           
 Expression getWellKnownName()
          This parameter gives the well-known name of the shape of the mark.
 void setSymbol(Expression symbol)
           
 void setSymbol(String symbol)
           
 void setWellKnownName(Expression wellKnownName)
          This parameter gives the well-known name of the shape of the mark.
 
Methods inherited from interface Mark
accept, getFill, getRotation, getSize, getStroke, setFill, setRotation, setSize, setStroke
 

Method Detail

getSymbol

Expression getSymbol()

setSymbol

void setSymbol(String symbol)

getFonts

Font[] getFonts()

setWellKnownName

void setWellKnownName(Expression wellKnownName)
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:
setWellKnownName in interface Mark
Parameters:
wellKnownName - The well-known name of a shape. The default value is "square".

getWellKnownName

Expression getWellKnownName()
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 Mark
Returns:
The well-known name of a shape. The default value is "square".

addFont

void addFont(Font font)

setSymbol

void setSymbol(Expression symbol)


Copyright © 1996-2009 Geotools. All Rights Reserved.