Uses of Class
org.geotools.renderer.style.Style2D
Packages that use Style2D
Package
Description
A simple renderer implementation.
Styling to be applied on
org.geotools.renderer.geom.Geometry objects at rendering time.-
Uses of Style2D in org.geotools.renderer.lite
Methods in org.geotools.renderer.lite with parameters of type Style2DModifier and TypeMethodDescriptionstatic doubleRendererUtilities.getStyle2DSize(Style2D style) voidStyledShapePainter.paint(Graphics2D graphics, LiteShape2 shape, Style2D style, double scale) voidStyledShapePainter.paint(Graphics2D graphics, LiteShape2 shape, Style2D style, double scale, boolean isLabelObstacle) Invoked automatically when a polyline is about to be draw.protected voidStyledShapePainter.paintGraphicFill(Graphics2D graphics, Shape shape, Style2D graphicFill, double scale) Paints a graphic fill for a given shape.Constructors in org.geotools.renderer.lite with parameters of type Style2DModifierConstructorDescriptionPaintShapeRequest(Graphics2D graphic, LiteShape2 shape, Style2D style, double scale) -
Uses of Style2D in org.geotools.renderer.style
Subclasses of Style2D in org.geotools.renderer.styleModifier and TypeClassDescriptionclassA dynamic line style, that will compute its parameters each time they are requested instead of caching themclassA dynamic polygon style, that will compute its parameters each time they are requested instead of caching themclassA style class used to depict a point, polygon centroid or line with a small graphic iconclassclassA rendered style to draw the contour of shapes TODO: add support for Graphic rendering (that is, an image painted along the contour)classStyle to represent points as small filled and stroked shapesclassA style that contains the specification to renderer both the contour and the interior of a shapeclassDJB:Fields in org.geotools.renderer.style declared as Style2DMethods in org.geotools.renderer.style that return Style2DModifier and TypeMethodDescriptionSLDStyleFactory.createDynamicStyle(SimpleFeature f, Symbolizer symbolizer, Range scaleRange) Creates a rendered styleSLDStyleFactory.createStyle(Object drawMe, Symbolizer symbolizer) Creates a rendered styleSLDStyleFactory.createStyle(Object drawMe, Symbolizer symbolizer, Range scaleRange) Creates a rendered styleTextStyle2D.getGraphic()gets the Style2D to be drawn underneath this textPolygonStyle2D.getGraphicFill()Returns a Style2D used for filling the polygon to be rendered, ornullif none.LineStyle2D.getGraphicStroke()Getter for property graphicStroke.Methods in org.geotools.renderer.style with parameters of type Style2DModifier and TypeMethodDescriptionvoidTextStyle2D.setGraphic(Style2D s) Sets the style2D to be drawn underneath this textvoidPolygonStyle2D.setGraphicFill(Style2D graphicFill) Sets a Style2D for filling the polygon to be rendered.voidLineStyle2D.setGraphicStroke(Style2D graphicStroke) Setter for property graphicStroke.