Uses of Interface
org.geotools.api.style.Font
Packages that use Font
Package
Description
The following package is an implementation of OGC Symbology Encoding 1.1.0 and ISO 19117 : Portrayal
Allows for symbolization of geospatial data.
Dialogs to create basic rendering styles.
Encoder for style objects as YSLD.
-
Uses of Font in org.geotools.api.style
Methods in org.geotools.api.style that return FontModifier and TypeMethodDescriptionStyleFactory.createFont
(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize) 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.StyleFactory.getDefaultFont()
TextSymbolizer.getFont()
Returns the Font to apply on the text.Methods in org.geotools.api.style that return types with arguments of type FontModifier and TypeMethodDescriptionTextSymbolizer.fonts()
Direct access to device independent Fonts used to render the label.Methods in org.geotools.api.style with parameters of type FontModifier and TypeMethodDescriptionStyleFactory.createTextSymbolizer
(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName) StyleFactory.createTextSymbolizer
(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName, Graphic graphic) Label Shield hack, non SLD 1.1void
Set initial font used to render label.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.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 FontMethods in org.geotools.brewer.styling.builder with parameters of type Font -
Uses of Font in org.geotools.styling
Classes in org.geotools.styling that implement FontModifier and TypeClassDescriptionclass
Provides a Java representation of the Font element of an SLD.Methods in org.geotools.styling that return FontModifier and TypeMethodDescriptionabstract Font
AbstractStyleFactory.createFont
(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize) StyleBuilder.createFont
(Font font) create a geotools font object from a java fontStyleBuilder.createFont
(String fontFamily, boolean italic, boolean bold, double fontSize) create font of supplied family, size and weight/styleStyleBuilder.createFont
(String fontFamily, double fontSize) create font of supplied family and sizeStyleBuilder.createFont
(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize) wrapper round StyleFactory methodStyleFactoryImpl.createFont
(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize) static Font
SLD.font
(TextSymbolizer symbolizer) Retrieves the font from a TextSymbolizer.StyleFactoryImpl.font
(List<Expression> family, Expression style, Expression weight, Expression size) abstract Font
AbstractStyleFactory.getDefaultFont()
StyleFactoryImpl.getDefaultFont()
Creates a defaultFont which is valid on all machines.TextSymbolizerImpl.getFont()
Methods in org.geotools.styling that return types with arguments of type FontMethods in org.geotools.styling with parameters of type FontModifier and TypeMethodDescriptionvoid
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.StyleBuilder.createStaticTextSymbolizer
(Color color, Font[] fonts, String label) create a textsymbolizer which doesn't changeStyleBuilder.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) StyleBuilder.createTextSymbolizer
(Color color, Font[] fonts, String attributeName) create a textsymbolizerStyleBuilder.createTextSymbolizer
(Color color, Font font, String attributeName) create a textsymbolizerStyleBuilder.createTextSymbolizer
(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName) create a text symbolizerStyleFactoryImpl.createTextSymbolizer
(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName) StyleFactoryImpl.createTextSymbolizer
(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName, Graphic graphic) void
StyleFactoryImpl.textSymbolizer
(String name, Expression geometry, Description description, Unit<?> unit, Expression label, Font font, LabelPlacement placement, Halo halo, Fill fill) 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 FontMethods in org.geotools.styling.visitor that return types with arguments of type FontModifier and TypeMethodDescriptionNull safe copy of font list.Methods in org.geotools.styling.visitor with parameters of type FontMethod parameters in org.geotools.styling.visitor with type arguments of type Font -
Uses of Font in org.geotools.swing.styling
Methods in org.geotools.swing.styling that return FontModifier and TypeMethodDescriptionJSimpleStyleDialog.getLabelFont()
Get the font to use for labelsJFontChooser.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 FontModifier and TypeMethodDescriptionstatic 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 FontModifierConstructorDescriptionJFontChooser
(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 -
Uses of Font in org.geotools.ysld.encode
Methods in org.geotools.ysld.encode with parameters of type Font