Uses of Interface
org.geotools.api.style.Font
-
Packages that use Font Package Description org.geotools.api.style The following package is an implementation of OGC Symbology Encoding 1.1.0 and ISO 19117 : Portrayalorg.geotools.brewer.styling.builder org.geotools.styling Allows for symbolization of geospatial data.org.geotools.styling.visitor org.geotools.swing.styling Dialogs to create basic rendering styles.org.geotools.xml.styling org.geotools.ysld.encode Encoder for style objects as YSLD. -
-
Uses of Font in org.geotools.api.style
Methods in org.geotools.api.style that return Font Modifier and Type Method Description Font
StyleFactory. createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
Font
StyleFactory. font(List<Expression> family, Expression style, Expression weight, Expression size)
Create font entry; note this captures a list of font families in the preferred order, with the rendering engine choosing the first entry in the list available to the runtime environment.Font
StyleFactory. getDefaultFont()
Font
TextSymbolizer. getFont()
Returns the Font to apply on the text.Methods in org.geotools.api.style that return types with arguments of type Font Modifier and Type Method Description List<Font>
TextSymbolizer. fonts()
Direct access to device independent Fonts used to render the label.Methods in org.geotools.api.style with parameters of type Font Modifier and Type Method Description TextSymbolizer
StyleFactory. createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName)
TextSymbolizer
StyleFactory. createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName, Graphic graphic)
Label Shield hack, non SLD 1.1void
TextSymbolizer. setFont(Font font)
Set initial font used to render label.TextSymbolizer
StyleFactory. textSymbolizer(String name, Expression geometry, Description description, Unit<?> unit, Expression label, Font font, LabelPlacement placement, Halo halo, Fill fill)
Creation of a TextSymbolizer defining how labels are portrayed.Object
TraversingStyleVisitor. visit(Font font, Object data)
Called when accept is called on a font -
Uses of Font in org.geotools.brewer.styling.builder
Methods in org.geotools.brewer.styling.builder that return Font Modifier and Type Method Description Font
FontBuilder. build()
Methods in org.geotools.brewer.styling.builder with parameters of type Font Modifier and Type Method Description FontBuilder
FontBuilder. reset(Font font)
-
Uses of Font in org.geotools.styling
Classes in org.geotools.styling that implement Font Modifier and Type Class Description class
FontImpl
Provides a Java representation of the Font element of an SLD.Methods in org.geotools.styling that return Font Modifier and Type Method Description abstract Font
AbstractStyleFactory. createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
Font
StyleBuilder. createFont(Font font)
create a geotools font object from a java fontFont
StyleBuilder. createFont(String fontFamily, boolean italic, boolean bold, double fontSize)
create font of supplied family, size and weight/styleFont
StyleBuilder. createFont(String fontFamily, double fontSize)
create font of supplied family and sizeFont
StyleBuilder. createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
wrapper round StyleFactory methodFont
StyleFactoryImpl. createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
static Font
SLD. font(TextSymbolizer symbolizer)
Retrieves the font from a TextSymbolizer.Font
StyleFactoryImpl. font(List<Expression> family, Expression style, Expression weight, Expression size)
abstract Font
AbstractStyleFactory. getDefaultFont()
Font
StyleFactoryImpl. getDefaultFont()
Creates a defaultFont which is valid on all machines.Font
TextSymbolizerImpl. getFont()
Methods in org.geotools.styling that return types with arguments of type Font Modifier and Type Method Description List<Font>
TextSymbolizerImpl. fonts()
Methods in org.geotools.styling with parameters of type Font Modifier and Type Method Description void
TextSymbolizerImpl. addFont(Font font)
Setter for property font.static Style
SLD. createLineStyle(Color lineColor, float width, String labelField, Font labelFont)
Create a line style with given color, line width and optional labelsstatic Style
SLD. createPointStyle(String wellKnownName, Color lineColor, Color fillColor, float opacity, float size, String labelField, Font labelFont)
Create a point style, optionally with text labelsstatic Style
SLD. createPolygonStyle(Color outlineColor, Color fillColor, float opacity, String labelField, Font labelFont)
Create a polygon style with the given colors, opacity and optional labels.TextSymbolizer
StyleBuilder. createStaticTextSymbolizer(Color color, Font[] fonts, String label)
create a textsymbolizer which doesn't changeTextSymbolizer
StyleBuilder. createStaticTextSymbolizer(Color color, Font font, String label)
create a textsymbolizer which doesn't changeabstract TextSymbolizer
AbstractStyleFactory. createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName)
TextSymbolizer
StyleBuilder. createTextSymbolizer(Color color, Font[] fonts, String attributeName)
create a textsymbolizerTextSymbolizer
StyleBuilder. createTextSymbolizer(Color color, Font font, String attributeName)
create a textsymbolizerTextSymbolizer
StyleBuilder. createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName)
create a text symbolizerTextSymbolizer
StyleFactoryImpl. createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName)
TextSymbolizer
StyleFactoryImpl. createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName, Graphic graphic)
void
TextSymbolizerImpl. setFont(Font font)
TextSymbolizer
StyleFactoryImpl. textSymbolizer(String name, Expression geometry, Description description, Unit<?> unit, Expression label, Font font, LabelPlacement placement, Halo halo, Fill fill)
TextSymbolizer
StyleFactoryImpl2. textSymbolizer(String name, Expression geometry, Description description, Unit<?> unit, Expression label, Font font, LabelPlacement placement, Halo halo, Fill fill)
-
Uses of Font in org.geotools.styling.visitor
Methods in org.geotools.styling.visitor that return Font Modifier and Type Method Description protected Font
DuplicatingStyleVisitor. copy(Font font)
Null safe copy of a single fontMethods in org.geotools.styling.visitor that return types with arguments of type Font Modifier and Type Method Description protected List<Font>
DuplicatingStyleVisitor. copyFonts(List<Font> fonts)
Null safe copy of font list.Methods in org.geotools.styling.visitor with parameters of type Font Modifier and Type Method Description protected Font
DuplicatingStyleVisitor. copy(Font font)
Null safe copy of a single fontMethod parameters in org.geotools.styling.visitor with type arguments of type Font Modifier and Type Method Description protected List<Font>
DuplicatingStyleVisitor. copyFonts(List<Font> fonts)
Null safe copy of font list. -
Uses of Font in org.geotools.swing.styling
Methods in org.geotools.swing.styling that return Font Modifier and Type Method Description Font
JSimpleStyleDialog. getLabelFont()
Get the font to use for labelsFont
JFontChooser. getSelectedFont()
Get the selected fontstatic Font
JFontChooser. showDialog(Component owner, String title, Font labelFont)
Static method to display a JFontChooser dialog and return the selected font as a new Font object.Methods in org.geotools.swing.styling with parameters of type Font Modifier and Type Method Description static Font
JFontChooser. showDialog(Component owner, String title, Font labelFont)
Static method to display a JFontChooser dialog and return the selected font as a new Font object.Constructors in org.geotools.swing.styling with parameters of type Font Constructor Description JFontChooser(JDialog owner, String title, Font initialFont)
ConstructorJFontChooser(JFrame owner, String title, Font initialFont)
Constructor -
Uses of Font in org.geotools.xml.styling
Methods in org.geotools.xml.styling that return Font Modifier and Type Method Description protected Font
SLDParser. parseFont(Node root)
Internal method to parse a Font Node; protected to allow for unit testing -
Uses of Font in org.geotools.ysld.encode
Methods in org.geotools.ysld.encode with parameters of type Font Modifier and Type Method Description protected void
FontEncoder. encode(Font font)
-