org.geotools.styling
Interface TextMark

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

public interface TextMark
extends Mark

Note: this isn't in the SLD spec


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)
           
 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(java.lang.String symbol)
           
 void setWellKnownName(Expression wellKnownName)
          This parameter gives the well-known name of the shape of the mark.
 
Methods inherited from interface org.geotools.styling.Mark
accept, getFill, getRotation, getSize, getStroke, setFill, setRotation, setSize, setStroke
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Method Detail

getSymbol

public Expression getSymbol()

setSymbol

public void setSymbol(java.lang.String symbol)

getFonts

public Font[] getFonts()

setWellKnownName

public 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

public 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

public void addFont(Font font)

setSymbol

public void setSymbol(Expression symbol)


Copyright © GeoTools. All Rights Reserved.