| Package | Description | 
|---|---|
| org.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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Font | FontBuilder. build() | 
| Modifier and Type | Method and Description | 
|---|---|
| FontBuilder | FontBuilder. reset(Font font) | 
| Modifier and Type | Method and Description | 
|---|---|
| Font | StyleFactory. createFont(Expression fontFamily,
          Expression fontStyle,
          Expression fontWeight,
          Expression fontSize) | 
| Font | StyleBuilder. createFont(Expression fontFamily,
          Expression fontStyle,
          Expression fontWeight,
          Expression fontSize)wrapper round StyleFactory method | 
| abstract Font | AbstractStyleFactory. createFont(Expression fontFamily,
          Expression fontStyle,
          Expression fontWeight,
          Expression fontSize) | 
| Font | StyleFactoryImpl. createFont(Expression fontFamily,
          Expression fontStyle,
          Expression fontWeight,
          Expression fontSize) | 
| Font | StyleBuilder. createFont(Font font)create a geotools font object from a java font | 
| Font | StyleBuilder. createFont(String fontFamily,
          boolean italic,
          boolean bold,
          double fontSize)create font of supplied family, size and weight/style | 
| Font | StyleBuilder. createFont(String fontFamily,
          double fontSize)create font of supplied family and size | 
| Font | StyleFactory. font(List<Expression> family,
    Expression style,
    Expression weight,
    Expression size) | 
| Font | StyleFactoryImpl. font(List<Expression> family,
    Expression style,
    Expression weight,
    Expression size) | 
| static Font | SLD. font(TextSymbolizer symbolizer)Retrieves the font from a TextSymbolizer. | 
| Font | StyleFactory. getDefaultFont() | 
| abstract Font | AbstractStyleFactory. getDefaultFont() | 
| Font | StyleFactoryImpl. getDefaultFont()Creates a defaultFont which is valid on all machines. | 
| Font | TextSymbolizerImpl. getFont() | 
| Font | TextSymbolizer. getFont()Initial Font to use when rendering this symbolizer. | 
| Font[] | TextSymbolizerImpl. getFonts()Deprecated.  | 
| Font[] | TextSymbolizer. getFonts()Deprecated. 
 use fonts() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Font> | TextSymbolizerImpl. fonts() | 
| List<Font> | TextSymbolizer. fonts()Direct access to device independent Fonts used to render the label. | 
| Modifier and Type | Method and 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 labels | 
| static Style | SLD. createPointStyle(String wellKnownName,
                Color lineColor,
                Color fillColor,
                float opacity,
                float size,
                String labelField,
                Font labelFont)Create a point style, optionally with text labels | 
| static 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 change | 
| TextSymbolizer | StyleBuilder. createStaticTextSymbolizer(Color color,
                          Font font,
                          String label)create a textsymbolizer which doesn't change | 
| TextSymbolizer | StyleBuilder. createTextSymbolizer(Color color,
                    Font[] fonts,
                    String attributeName)create a textsymbolizer | 
| TextSymbolizer | StyleBuilder. createTextSymbolizer(Color color,
                    Font font,
                    String attributeName)create a textsymbolizer | 
| TextSymbolizer | StyleFactory. createTextSymbolizer(Fill fill,
                    Font[] fonts,
                    Halo halo,
                    Expression label,
                    LabelPlacement labelPlacement,
                    String geometryPropertyName) | 
| TextSymbolizer | StyleBuilder. createTextSymbolizer(Fill fill,
                    Font[] fonts,
                    Halo halo,
                    Expression label,
                    LabelPlacement labelPlacement,
                    String geometryPropertyName)create a text symbolizer | 
| abstract TextSymbolizer | AbstractStyleFactory. 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) | 
| TextSymbolizer2 | StyleFactory2. createTextSymbolizer(Fill fill,
                    Font[] fonts,
                    Halo halo,
                    Expression label,
                    LabelPlacement labelPlacement,
                    String geometryPropertyName,
                    Graphic graphic)Label Shield hack, non SLD 1.1 | 
| TextSymbolizer2 | StyleFactoryImpl. createTextSymbolizer(Fill fill,
                    Font[] fonts,
                    Halo halo,
                    Expression label,
                    LabelPlacement labelPlacement,
                    String geometryPropertyName,
                    Graphic graphic) | 
| void | TextSymbolizerImpl. setFonts(Font[] fonts)Deprecated.  | 
| void | TextSymbolizer. setFonts(Font[] fonts)Deprecated. 
 use fonts() to directly modify list of fonts in place | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Font | DuplicatingStyleVisitor. copy(Font font)Null safe copy of a single font | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<Font> | DuplicatingStyleVisitor. copyFonts(List<Font> fonts)Null safe copy of font list. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Font | DuplicatingStyleVisitor. copy(Font font)Null safe copy of a single font | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<Font> | DuplicatingStyleVisitor. copyFonts(List<Font> fonts)Null safe copy of font list. | 
| Modifier and Type | Method and Description | 
|---|---|
| Font | JSimpleStyleDialog. getLabelFont()Get the font to use for labels | 
| Font | JFontChooser. getSelectedFont()Get the selected font | 
| 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. | 
| Modifier and Type | Method and 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. | 
| Constructor and Description | 
|---|
| JFontChooser(JDialog owner,
            String title,
            Font initialFont)Constructor | 
| JFontChooser(JFrame owner,
            String title,
            Font initialFont)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Font | SLDParser. parseFont(Node root)Internal method to parse a Font Node; protected to allow for unit testing | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | FontEncoder. encode(Font font) | 
Copyright © 1996–2019 Geotools. All rights reserved.