org.geotools.styling
Interface Font

All Superinterfaces:
GTComponent
All Known Implementing Classes:
FontImpl

public interface Font
extends GTComponent

A system-independent object for holding SLD font information. This holds information on the text font to use in text processing. Font-family, font-style, font-weight and font-size.

Version:
$Id: Font.java 18021 2006-02-14 20:36:18Z jdeolive $
Author:
Ian Turton, CCG

Nested Class Summary
static interface Font.Style
          Enumeration of allow font-style values.
static interface Font.Weight
          Enumeration of allow font-weight values.
 
Field Summary
static int DEFAULT_FONTSIZE
          default font-size value
 
Method Summary
 Expression getFontFamily()
           
 Expression getFontSize()
           
 Expression getFontStyle()
           
 Expression getFontWeight()
           
 void setFontFamily(Expression family)
           
 void setFontSize(Expression size)
           
 void setFontStyle(Expression style)
           
 void setFontWeight(Expression weight)
           
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Field Detail

DEFAULT_FONTSIZE

public static final int DEFAULT_FONTSIZE
default font-size value

See Also:
Constant Field Values
Method Detail

getFontFamily

public Expression getFontFamily()

setFontFamily

public void setFontFamily(Expression family)

getFontStyle

public Expression getFontStyle()

setFontStyle

public void setFontStyle(Expression style)

getFontWeight

public Expression getFontWeight()

setFontWeight

public void setFontWeight(Expression weight)

getFontSize

public Expression getFontSize()

setFontSize

public void setFontSize(Expression size)


Copyright © GeoTools. All Rights Reserved.