| java.lang.Object org.deegree.graphics.sld.StyleFactory
StyleFactory | public class StyleFactory (Code) | | An utility class designed to easy creation of style by convinience methods.
author: Andreas Poth |
Method Summary | |
public static CssParameter | createCssParameter(String name, String value) | public static CssParameter | createCssParameter(String name, int value) | public static CssParameter | createCssParameter(String name, double value) | public static ExternalGraphic | createExternalGraphic(String uri, String format) | public static ExternalGraphic | createExternalGraphic(java.net.URL url, String format) | public static FeatureTypeStyle | createFeatureTypeStyle(Symbolizer symbolizer) | public static FeatureTypeStyle | createFeatureTypeStyle(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator) | public static FeatureTypeStyle | createFeatureTypeStyle(Symbolizer[] symbolizers, double minScaleDenominator, double maxScaleDenominator) | public static FeatureTypeStyle | createFeatureTypeStyle(String featureTypeStyleName, Symbolizer symbolizer) | public static FeatureTypeStyle | createFeatureTypeStyle(String featureTypeStyleName, Symbolizer[] symbolizers) | public static FeatureTypeStyle | createFeatureTypeStyle(String featureTypeStyleName, Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator) | public static FeatureTypeStyle | createFeatureTypeStyle(String featureTypeStyleName, Symbolizer[] symbolizers, double minScaleDenominator, double maxScaleDenominator) | public static FeatureTypeStyle | createFeatureTypeStyle(Rule rule) | public static FeatureTypeStyle | createFeatureTypeStyle(Rule[] rules) | public static FeatureTypeStyle | createFeatureTypeStyle(String featureTypeStyleName, Rule rule) | public static FeatureTypeStyle | createFeatureTypeStyle(String featureTypeStyleName, Rule[] rules) | public static FeatureTypeStyle | createFeatureTypeStyle(String featureTypeStyleName, String title, String abstract_, String featureTypeName, Rule[] rules) | public static Fill | createFill() | public static Fill | createFill(Color color) | public static Fill | createFill(Color color, double opacity) | public static Fill | createFill(Color color, double opacity, GraphicFill fill) | public static Font | createFont(java.awt.Font font) | public static Font | createFont(String fontFamily, double fontSize) | public static Font | createFont(String fontFamily, boolean italic, boolean bold, double fontSize) | public static Graphic | createGraphic(ExternalGraphic externalGraphic, Mark mark, double opacity, double size, double rotation) | public static GraphicFill | createGraphicFill(Graphic graphic) | public static GraphicStroke | createGraphicStroke(Graphic graphic) | public static Halo | createHalo() | public static Halo | createHalo(Color color, double radius) | public static Halo | createHalo(Color fillColor, double opacity, Color strokeColor, double radius) | public static Halo | createHalo(Fill fill, Stroke stroke, double radius) | public static LabelPlacement | createLabelPlacement(LinePlacement linePlacement) | public static LabelPlacement | createLabelPlacement(PointPlacement pointPlacement) | public static LinePlacement | createLinePlacement(double offset) creates a LinePlacement with a user defined distance between the labels and the
lines. | public static LinePlacement | createLinePlacement(String position) creates a LinePlacement with a relative position of the label according to the
line the lines. | public static LinePlacement | createLinePlacement(double offset, double lineWidth, int gap) creates a LinePlacement with a user defined distance between the labels and the
lines. | public static LinePlacement | createLinePlacement(String position, double lineWidth, int gap) creates a LinePlacement with a user defined distance between the labels and the
lines. | public static AbstractStyle | createLineStyle(Color color, double width, double opacity, double min, double max) | public static AbstractStyle | createLineStyle(Color startColor, Color endColor, double startWidth, double endWidth, double opacity, double min, double max, String featurePropertyName, int numberOfSteps) creates a style with name 'defaultLine' for rendering line geometries. | public static LineSymbolizer | createLineSymbolizer() | public static LineSymbolizer | createLineSymbolizer(double width) | public static LineSymbolizer | createLineSymbolizer(Color color) | public static LineSymbolizer | createLineSymbolizer(Color color, double width) | public static LineSymbolizer | createLineSymbolizer(Color color, double width, PropertyPath geometryPropertyName) | public static LineSymbolizer | createLineSymbolizer(Stroke stroke) | public static LineSymbolizer | createLineSymbolizer(Stroke stroke, PropertyPath geometryPropertyName) | public static LineSymbolizer | createLineSymbolizer(Stroke stroke, PropertyPath geometryPropertyName, double min, double max) | public static Mark | createMark(String wellKnownName) | public static Mark | createMark(String wellKnownName, Color fillColor, Color borderColor, double borderWidth) | public static Mark | createMark(String wellKnownName, Color borderColor, double borderWidth) | public static Mark | createMark(String wellKnownName, Color fillColor) | public static Mark | createMark(String wellKnownName, Fill fill, Stroke stroke) | public static ParameterValueType | createParameterValueType(String value) | public static ParameterValueType | createParameterValueType(int value) | public static ParameterValueType | createParameterValueType(double value) | public static ParameterValueType | createParameterValueType(Expression[] expressions) | public static PointPlacement | createPointPlacement() | public static PointPlacement | createPointPlacement(double anchorX, double anchorY, double rotation) | public static PointPlacement | createPointPlacement(double anchorX, double anchorY, double displacementX, double displacementY, double rotation) | public static PointPlacement | createPointPlacement(double anchorX, double anchorY, double displacementX, double displacementY, double rotation, boolean auto) | public static AbstractStyle | createPointStyle(String wellKnownName, Color fillColor, Color borderColor, double borderWidth, double opacity, double size, double rotation, double min, double max) | public static AbstractStyle | createPointStyle(String[] wellKnownNames, Color startFillColor, Color endFillColor, Color startBorderColor, Color endBorderColor, double startBorderWidth, double endBorderWidth, double opacity, double startSize, double endSize, double rotation, double min, double max, String featurePropertyName, int numberOfSteps) creates a style with name 'defaultPoint' for rendering point geometries. | public static PointSymbolizer | createPointSymbolizer() | public static PointSymbolizer | createPointSymbolizer(Graphic graphic) | public static PointSymbolizer | createPointSymbolizer(Graphic graphic, PropertyPath geometryPropertyName) | public static PointSymbolizer | createPointSymbolizer(Graphic graphic, PropertyPath geometryPropertyName, double min, double max) | public static AbstractStyle | createPolygonStyle(Color fillColor, double fillOpacity, Color strokeColor, double strokeWidth, double strokeOpacity, double min, double max) | public static AbstractStyle | createPolygonStyle(Color startFillColor, Color endFillColor, double fillOpacity, Color startStrokeColor, Color endStrokeColor, double startStrokeWidth, double endStrokeWidth, double strokeOpacity, double min, double max, String featurePropertyName, int numberOfSteps) creates a style with name 'defaultPoint' for rendering point geometries. | public static PolygonSymbolizer | createPolygonSymbolizer() | public static PolygonSymbolizer | createPolygonSymbolizer(Color fillColor) | public static PolygonSymbolizer | createPolygonSymbolizer(Color fillColor, Color borderColor, double borderWidth) | public static PolygonSymbolizer | createPolygonSymbolizer(Color borderColor, double borderWidth) | public static PolygonSymbolizer | createPolygonSymbolizer(Stroke stroke, Fill fill) | public static PolygonSymbolizer | createPolygonSymbolizer(Stroke stroke, Fill fill, PropertyPath geometryPropertyName) | public static PolygonSymbolizer | createPolygonSymbolizer(Stroke stroke, Fill fill, PropertyPath geometryPropertyName, double min, double max) | public static Rule | createRule(Symbolizer symbolizer) | public static Rule | createRule(Symbolizer[] symbolizers) | public static Rule | createRule(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator) | public static Rule | createRule(Symbolizer[] symbolizers, double minScaleDenominator, double maxScaleDenominator) | public static Rule | createRule(Symbolizer[] symbolizers, String name, String title, String abstract_, double minScaleDenominator, double maxScaleDenominator) | public static Rule | createRule(Symbolizer[] symbolizers, String name, String title, String abstract_, LegendGraphic legendGraphic, Filter filter, boolean elseFilter, double minScaleDenominator, double maxScaleDenominator) | public static TextSymbolizer | createStaticTextSymbolizer(Color color, Font font, String label) | public static TextSymbolizer | createStaticTextSymbolizer(Color color, Font[] fonts, String label) | public static Stroke | createStroke() | public static Stroke | createStroke(double width) | public static Stroke | createStroke(Color color) | public static Stroke | createStroke(Color color, double width) | public static Stroke | createStroke(Color color, double width, String lineJoin, String lineCap) create a stroke with color, width, linejoin type and lineCap type. | public static Stroke | createStroke(Color color, double width, double opacity, float[] dashArray, String lineJoin, String lineCap) create a stroke with color, width, linejoin type and lineCap type. | public static Stroke | createStroke(Color color, double width, float[] dashArray) | public static Stroke | createStroke(Color color, double width, double opacity) | public static AbstractStyle | createStyle(Symbolizer symbolizer) | public static AbstractStyle | createStyle(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator) | public static AbstractStyle | createStyle(String name, Symbolizer symbolizer) | public static AbstractStyle | createStyle(String name, Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator) | public static AbstractStyle | createStyle(String name, String title, String abstract_, String featureTypeName, Rule[] rules) | public static AbstractStyle | createStyle(String name, String title, String abstract_, FeatureTypeStyle featureTypeStyle) | public static AbstractStyle | createStyle(String name, String title, String abstract_, FeatureTypeStyle[] featureTypeStyles) | public static AbstractStyle | createStyle() | public static TextSymbolizer | createTextSymbolizer(Color color, Font font, String attributeName, LabelPlacement labelPlacement) | public static TextSymbolizer | createTextSymbolizer(PropertyPath geometryPropertyName, String attribute, LabelPlacement labelPlacement) | public static TextSymbolizer | createTextSymbolizer(PropertyPath geometryPropertyName, String attribute, Font font, LabelPlacement labelPlacement, Halo halo, Fill fill, double min, double max) | public static TextSymbolizer | createTextSymbolizer(Geometry geometry, ParameterValueType label, Font font, LabelPlacement labelPlacement, Halo halo, Fill fill, double min, double max) |
createCssParameter | public static CssParameter createCssParameter(String name, String value)(Code) | | creates a CssParameter with a name and a value
Parameters: name - name of the css parameter Parameters: value - value of the css parameter the CssParameter created |
createCssParameter | public static CssParameter createCssParameter(String name, int value)(Code) | | creates a CssParameter with a name and a value
Parameters: name - name of the css parameter Parameters: value - value of the css parameter the CssParameter created |
createCssParameter | public static CssParameter createCssParameter(String name, double value)(Code) | | creates a CssParameter with a name and a value
Parameters: name - name of the css parameter Parameters: value - value of the css parameter the CssParameter created |
createExternalGraphic | public static ExternalGraphic createExternalGraphic(java.net.URL url, String format)(Code) | | wrapper for stylefactory method
Parameters: url - the url of the image Parameters: format - mime type of the image the external graphic |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(Symbolizer symbolizer)(Code) | | create a Feature type styler
Parameters: symbolizer - -the symbolizer to use the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a Feature type styler see the SLD Spec for more details of scaleDenominators
Parameters: symbolizer - -the symbolizer to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(Symbolizer[] symbolizers, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a Feature type styler see the SLD Spec for more details of scaleDenominators
Parameters: symbolizers - -an array of symbolizers to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(String featureTypeStyleName, Symbolizer symbolizer)(Code) | | create a Feature type styler
Parameters: featureTypeStyleName - -name for the feature type styler Parameters: symbolizer - -the symbolizer to use the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(String featureTypeStyleName, Symbolizer[] symbolizers)(Code) | | create a Feature type styler
Parameters: featureTypeStyleName - -name for the feature type styler Parameters: symbolizers - -an array of symbolizers to use the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(String featureTypeStyleName, Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a Feature type styler see the SLD Spec for more details of scaleDenominators
Parameters: featureTypeStyleName - -name for the feature type styler Parameters: symbolizer - -the symbolizer to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(String featureTypeStyleName, Symbolizer[] symbolizers, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a Feature type styler see the SLD Spec for more details of scaleDenominators
Parameters: featureTypeStyleName - -name for the feature type styler Parameters: symbolizers - -an array of symbolizers to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(Rule rule)(Code) | | create a Feature type styler
Parameters: rule - -rule contained in the featureTypeStyle the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(Rule[] rules)(Code) | | create a Feature type styler
Parameters: rules - -rules contained in the featureTypeStyle the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(String featureTypeStyleName, Rule rule)(Code) | | create a Feature type styler
Parameters: featureTypeStyleName - -name for the feature type styler Parameters: rule - -rule contained in the featureTypeStyle the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(String featureTypeStyleName, Rule[] rules)(Code) | | create a Feature type styler
Parameters: featureTypeStyleName - -name for the feature type styler Parameters: rules - -rules contained in the featureTypeStyle the new feature type styler |
createFeatureTypeStyle | public static FeatureTypeStyle createFeatureTypeStyle(String featureTypeStyleName, String title, String abstract_, String featureTypeName, Rule[] rules)(Code) | | create a Feature type styler
Parameters: featureTypeStyleName - -name for the feature type styler Parameters: featureTypeName - -name of the feature type the Feature type style shall be assigned to Parameters: title - -title of the FeatureTypeStyle Parameters: abstract_ - -text describing the FeatureTypeStyle Parameters: rules - -rules contained in the featureTypeStyle the new feature type styler |
createFill | public static Fill createFill()(Code) | | create a default fill 50% gray
the fill created |
createFill | public static Fill createFill(Color color)(Code) | | create a fill of color
Parameters: color - the color of the fill the fill created |
createFill | public static Fill createFill(Color color, double opacity)(Code) | | create a fill with the supplied color and opacity
Parameters: color - the color to fill with Parameters: opacity - the opacity of the fill 0 - transparent, 1 - completly filled the fill created |
createFill | public static Fill createFill(Color color, double opacity, GraphicFill fill)(Code) | | create a fill with color and opacity supplied and uses the graphic fill supplied for the fill
Parameters: color - the foreground color Parameters: opacity - the opacity of the fill Parameters: fill - the graphic object to use to fill the fill the fill created |
createFont | public static Font createFont(java.awt.Font font)(Code) | | create a geotools font object from a java font
Parameters: font - -the font to be converted - the deegree sld font |
createFont | public static Font createFont(String fontFamily, double fontSize)(Code) | | create font of supplied family and size
Parameters: fontFamily - -the font family Parameters: fontSize - -the size of the font in points the font object created |
createFont | public static Font createFont(String fontFamily, boolean italic, boolean bold, double fontSize)(Code) | | create font of supplied family, size and weight/style
Parameters: fontFamily - -the font family Parameters: italic - -should the font be italic? Parameters: bold - -should the font be bold? Parameters: fontSize - -the size of the font in points the new font object |
createGraphic | public static Graphic createGraphic(ExternalGraphic externalGraphic, Mark mark, double opacity, double size, double rotation)(Code) | | creates a graphic object
Parameters: externalGraphic - an external graphic to use if displayable Parameters: mark - a mark to use Parameters: opacity - -the opacity of the graphic Parameters: size - -the size of the graphic Parameters: rotation - -the rotation from the top of the page of the graphic the graphic created |
createGraphicFill | public static GraphicFill createGraphicFill(Graphic graphic)(Code) | | creates a GraphicFill from a Graphic object
Parameters: graphic - Graphic |
createGraphicStroke | public static GraphicStroke createGraphicStroke(Graphic graphic)(Code) | | creates a GraphicStroke from a Graphic object
Parameters: graphic - Graphic |
createHalo | public static Halo createHalo()(Code) | | wrapper round StyleFactory method to create default halo
the new halo |
createHalo | public static Halo createHalo(Color color, double radius)(Code) | | wrapper round StyleFactory method to create halo
Parameters: color - -the color of the halo Parameters: radius - -the radius of the halo use a value <= 0 for rectangle the new halo |
createHalo | public static Halo createHalo(Color fillColor, double opacity, Color strokeColor, double radius)(Code) | | wrapper round StyleFactory method to create halo
Parameters: fillColor - -the fill color of the halo Parameters: opacity - -the opacity of the halo fill 0 - transparent 1 - solid Parameters: strokeColor - -the stroke color of the halo Parameters: radius - -the radius of the halo use a value <= 0 for rectangle the new halo |
createHalo | public static Halo createHalo(Fill fill, Stroke stroke, double radius)(Code) | | wrapper round StyleFactory method to create halo
Parameters: fill - -the fill of the halo Parameters: stroke - -the stroke of the halo Parameters: radius - -the radius of the halo use a value <= 0 for rectangle the new halo |
createLabelPlacement | public static LabelPlacement createLabelPlacement(LinePlacement linePlacement)(Code) | | creates a label placement that is orientated on a line
Parameters: linePlacement - description of the line where the lable will be orientated on created LabelPlacement |
createLabelPlacement | public static LabelPlacement createLabelPlacement(PointPlacement pointPlacement)(Code) | | creates a label placement that is orientated on a point
Parameters: pointPlacement - description of the point where the lable will be orientated on created LabelPlacement |
createLinePlacement | public static LinePlacement createLinePlacement(double offset)(Code) | | creates a LinePlacement with a user defined distance between the labels and the
lines. A positive value indicates a position above the line, a negative value indicates a
position below. The line width is asumed to be 2 pixel and the gap between the labels is set
to factor 10 of the label width.
Parameters: offset - -the distance between the line and the label the LinePlacement created |
createLinePlacement | public static LinePlacement createLinePlacement(String position)(Code) | | creates a LinePlacement with a relative position of the label according to the
line the lines. The line width is asumed to be 2 pixel and the gap between the labels is set
to factor 10 of the label width.
Parameters: position - of the label relative to the line the LinePlacement created |
createLinePlacement | public static LinePlacement createLinePlacement(double offset, double lineWidth, int gap)(Code) | | creates a LinePlacement with a user defined distance between the labels and the
lines. A positive value indicates a position above the line, a negative value indicates a
position below.
Parameters: offset - -the distance between the line and the label Parameters: lineWidth - -assumed lineWidth Parameters: gap - -gap between the labels measured in label width the LinePlacement created |
createLinePlacement | public static LinePlacement createLinePlacement(String position, double lineWidth, int gap)(Code) | | creates a LinePlacement with a user defined distance between the labels and the
lines. A positive value indicates a position above the line, a negative value indicates a
position below.
Parameters: position - -relative position of the label to the line Parameters: lineWidth - -assumed lineWidth Parameters: gap - -gap between the labels measured in label width the LinePlacement created |
createLineStyle | public static AbstractStyle createLineStyle(Color color, double width, double opacity, double min, double max)(Code) | | creates a style with name 'defaultLine' for rendering line geometries
Parameters: color - the line color Parameters: width - the width of the line Parameters: opacity - -the opacity of the line Parameters: min - -the minimim scale to draw the feature at Parameters: max - -the maximum scale to draw the feature at the style created |
createLineStyle | public static AbstractStyle createLineStyle(Color startColor, Color endColor, double startWidth, double endWidth, double opacity, double min, double max, String featurePropertyName, int numberOfSteps)(Code) | | creates a style with name 'defaultLine' for rendering line geometries. The style contains
1..n rules depending on the value range and the number of steps within it. So it is possible
to create a style that creates different rendering depending on the value of one feature
attribute.
there will be a linear interpolation between colors, size and width of the first and the last
rule considering the number of passed steps (rules)
Parameters: startColor - -the color of the first rule Parameters: endColor - -the color of the last rule Parameters: startWidth - -the width of the line of the first rule Parameters: endWidth - -the width of the line of the last rule Parameters: opacity - -the opacity of the graphic Parameters: min - -the minimim scale to draw the feature at Parameters: max - -the maximum scale to draw the feature at Parameters: featurePropertyName - -name of the feature property that determines the selection of the rule for drawing Parameters: numberOfSteps - -number of steps used for the interpolation between first and last value. It isidentical with the number of rules that will be created. the style created |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer()(Code) | | create a default line symboliser
the new line symbolizer |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer(double width)(Code) | | create a new line symbolizer
Parameters: width - the width of the line the new line symbolizer |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer(Color color)(Code) | | create a LineSymbolizer
Parameters: color - -the color of the line the new line symbolizer |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer(Color color, double width)(Code) | | create a LineSymbolizer
Parameters: color - -the color of the line Parameters: width - -the width of the line the new line symbolizer |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer(Color color, double width, PropertyPath geometryPropertyName)(Code) | | create a LineSymbolizer
Parameters: color - -the color of the line Parameters: width - -the width of the line Parameters: geometryPropertyName - -the name of the geometry to be drawn the new line symbolizer |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer(Stroke stroke)(Code) | | create a LineSymbolizer
Parameters: stroke - -the stroke to be used to draw the line the new line symbolizer |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer(Stroke stroke, PropertyPath geometryPropertyName)(Code) | | create a LineSymbolizer
Parameters: stroke - -the stroke to be used to draw the line Parameters: geometryPropertyName - -the name of the geometry to be drawn the new line symbolizer |
createLineSymbolizer | public static LineSymbolizer createLineSymbolizer(Stroke stroke, PropertyPath geometryPropertyName, double min, double max)(Code) | | create a LineSymbolizer
Parameters: stroke - -the stroke to be used to draw the line Parameters: geometryPropertyName - -the name of the geometry to be drawn Parameters: min - min scale denominator Parameters: max - max scale denominator the new line symbolizer |
createMark | public static Mark createMark(String wellKnownName)(Code) | | create the named mark
Parameters: wellKnownName - the wellknown name of the mark the mark created |
createMark | public static Mark createMark(String wellKnownName, Color fillColor, Color borderColor, double borderWidth)(Code) | | create the named mark with the colors etc supplied
Parameters: wellKnownName - the well known name of the mark Parameters: fillColor - the color of the mark Parameters: borderColor - the outline color of the mark Parameters: borderWidth - the width of the outline the mark created |
createMark | public static Mark createMark(String wellKnownName, Color borderColor, double borderWidth)(Code) | | create a mark with default fill (50% gray) and the supplied outline
Parameters: wellKnownName - the well known name of the mark Parameters: borderColor - the outline color Parameters: borderWidth - the outline width the mark created |
createMark | public static Mark createMark(String wellKnownName, Color fillColor)(Code) | | create a mark of the supplied color and a default outline (black)
Parameters: wellKnownName - the well known name of the mark Parameters: fillColor - the color of the mark the created mark |
createMark | public static Mark createMark(String wellKnownName, Fill fill, Stroke stroke)(Code) | | create a mark with the supplied fill and stroke
Parameters: wellKnownName - the well known name of the mark Parameters: fill - the fill to use Parameters: stroke - the stroke to use the mark created |
createParameterValueType | public static ParameterValueType createParameterValueType(String value)(Code) | | creates a ParameterValueType instance with a String as value
Parameters: value - value of the ParameterValueType the ParameterValueType created |
createParameterValueType | public static ParameterValueType createParameterValueType(int value)(Code) | | creates a ParameterValueType instance with a int as value
Parameters: value - value of the ParameterValueType the ParameterValueType created |
createParameterValueType | public static ParameterValueType createParameterValueType(double value)(Code) | | creates a ParameterValueType instance with a String as value
Parameters: value - value of the ParameterValueType the ParameterValueType created |
createParameterValueType | public static ParameterValueType createParameterValueType(Expression[] expressions)(Code) | | creates a ParameterValueType instance with an array of Expression s as
value
Parameters: expressions - the the ParameterValueType created |
createPointPlacement | public static PointPlacement createPointPlacement()(Code) | | wrapper round Stylefactory Method
the default pointplacement |
createPointPlacement | public static PointPlacement createPointPlacement(double anchorX, double anchorY, double rotation)(Code) | | wrapper round Stylefactory Method
Parameters: anchorX - -the X coordinate Parameters: anchorY - -the Y coordinate Parameters: rotation - -the rotaion of the label the pointplacement created |
createPointPlacement | public static PointPlacement createPointPlacement(double anchorX, double anchorY, double displacementX, double displacementY, double rotation)(Code) | | wrapper round Stylefactory Method
Parameters: anchorX - -the X coordinate Parameters: anchorY - -the Y coordinate Parameters: displacementX - -the X distance from the anchor Parameters: displacementY - -the Y distance from the anchor Parameters: rotation - -the rotaion of the label the pointplacement created |
createPointPlacement | public static PointPlacement createPointPlacement(double anchorX, double anchorY, double displacementX, double displacementY, double rotation, boolean auto)(Code) | | Parameters: anchorX - -the X coordinate Parameters: anchorY - -the Y coordinate Parameters: displacementX - -the X distance from the anchor Parameters: displacementY - -the Y distance from the anchor Parameters: rotation - -the rotaion of the label Parameters: auto - -auto positioning of the label the pointplacement created |
createPointStyle | public static AbstractStyle createPointStyle(String wellKnownName, Color fillColor, Color borderColor, double borderWidth, double opacity, double size, double rotation, double min, double max)(Code) | | creates a style with name 'defaultPoint' for rendering point geometries
Parameters: wellKnownName - the well known name of the mark Parameters: fillColor - the color of the mark Parameters: borderColor - the outline color of the mark Parameters: borderWidth - the width of the outline Parameters: opacity - -the opacity of the graphic Parameters: size - -the size of the graphic Parameters: rotation - -the rotation from the top of the page of the graphic Parameters: min - -the minimim scale to draw the feature at Parameters: max - -the maximum scale to draw the feature at the style created |
createPointStyle | public static AbstractStyle createPointStyle(String[] wellKnownNames, Color startFillColor, Color endFillColor, Color startBorderColor, Color endBorderColor, double startBorderWidth, double endBorderWidth, double opacity, double startSize, double endSize, double rotation, double min, double max, String featurePropertyName, int numberOfSteps)(Code) | | creates a style with name 'defaultPoint' for rendering point geometries. The style contains
1..n rules depending on the value range and the number of steps within it. So it is possible
to create a style that creates different rendering depending on the value of one feature
attribute.
there will be a linear interpolation between colors, size and width of the first and the last
rule considering the number of passed steps (rules)
Parameters: wellKnownNames - -list of well known names of the mark. the first field will be assigned to thestarting rule the last to the ending rule. Parameters: startFillColor - -the color of the mark of the first rule Parameters: endFillColor - -the color of the mark of the last rule Parameters: startBorderColor - -the outline color of the mark of the first rule Parameters: endBorderColor - -the outline color of the mark of the last rule Parameters: startBorderWidth - -the width of the outline of the first rule Parameters: endBorderWidth - -the width of the outline of the last rule Parameters: opacity - -the opacity of the graphic Parameters: startSize - -the size of the graphic of the first rule Parameters: endSize - -the size of the graphic of the last rule Parameters: rotation - -the rotation from the top of the page of the graphic Parameters: min - -the minimim scale to draw the feature at Parameters: max - -the maximum scale to draw the feature at Parameters: featurePropertyName - -name of the feature property that determines the selection of the rule for drawing Parameters: numberOfSteps - -number of steps used for the interpolation between first and last value. It isidentical with the number of rules that will be created. the style created |
createPointSymbolizer | public static PointSymbolizer createPointSymbolizer()(Code) | | create a default point symbolizer
the new point symbolizer |
createPointSymbolizer | public static PointSymbolizer createPointSymbolizer(Graphic graphic)(Code) | | create a point symbolizer
Parameters: graphic - -the graphic object to draw at the point the new point symbolizer |
createPointSymbolizer | public static PointSymbolizer createPointSymbolizer(Graphic graphic, PropertyPath geometryPropertyName)(Code) | | create a point symbolizer
Parameters: graphic - -the graphic object to draw at the point Parameters: geometryPropertyName - -the name of the geometry to be drawn the new point symbolizer |
createPointSymbolizer | public static PointSymbolizer createPointSymbolizer(Graphic graphic, PropertyPath geometryPropertyName, double min, double max)(Code) | | create a point symbolizer
Parameters: graphic - -the graphic object to draw at the point Parameters: geometryPropertyName - -the name of the geometry to be drawn Parameters: min - min scale denominator Parameters: max - max scale denominator the new point symbolizer |
createPolygonStyle | public static AbstractStyle createPolygonStyle(Color fillColor, double fillOpacity, Color strokeColor, double strokeWidth, double strokeOpacity, double min, double max)(Code) | | creates a style with name 'defaultPolygon' for rendering polygon geometries
Parameters: fillColor - -the fill color of the polygon Parameters: fillOpacity - -the fill opacity of the polygon Parameters: strokeColor - -the line color Parameters: strokeWidth - -the width of the line Parameters: strokeOpacity - -the opacity of the line Parameters: min - -the minimim scale to draw the feature at Parameters: max - -the maximum scale to draw the feature at the style created |
createPolygonStyle | public static AbstractStyle createPolygonStyle(Color startFillColor, Color endFillColor, double fillOpacity, Color startStrokeColor, Color endStrokeColor, double startStrokeWidth, double endStrokeWidth, double strokeOpacity, double min, double max, String featurePropertyName, int numberOfSteps)(Code) | | creates a style with name 'defaultPoint' for rendering point geometries. The style contains
1..n rules depending on the value range and the number of steps within it. So it is possible
to create a style that creates different rendering depending on the value of one feature
attribute.
there will be a linear interpolation between colors, size and width of the first and the last
rule considering the number of passed steps (rules)
Parameters: startFillColor - -the fill color of the first rule Parameters: endFillColor - -the fill color of the last rule Parameters: fillOpacity - -the opacity of the fill Parameters: startStrokeColor - -the line color of the first rule Parameters: endStrokeColor - -the line color of the last rule Parameters: startStrokeWidth - -the width of the outline of the first rule Parameters: endStrokeWidth - -the width of the outline of the last rule Parameters: strokeOpacity - -the opacity of the outline Parameters: min - -the minimim scale to draw the feature at Parameters: max - -the maximum scale to draw the feature at Parameters: featurePropertyName - -name of the feature property that determines the selection of the rule for drawing Parameters: numberOfSteps - -number of steps used for the interpolation between first and last value. It isidentical with the number of rules that will be created. the style created |
createPolygonSymbolizer | public static PolygonSymbolizer createPolygonSymbolizer()(Code) | | create a default polygon symbolizer
the new polygon symbolizer |
createPolygonSymbolizer | public static PolygonSymbolizer createPolygonSymbolizer(Color fillColor)(Code) | | create a polygon symbolizer
Parameters: fillColor - -the color to fill the polygon the new polygon symbolizer |
createPolygonSymbolizer | public static PolygonSymbolizer createPolygonSymbolizer(Color fillColor, Color borderColor, double borderWidth)(Code) | | create a polygon symbolizer
Parameters: fillColor - -the color to fill the polygon Parameters: borderColor - -the outline color of the polygon Parameters: borderWidth - -the width of the outline the new polygon symbolizer |
createPolygonSymbolizer | public static PolygonSymbolizer createPolygonSymbolizer(Color borderColor, double borderWidth)(Code) | | create a polygon symbolizer
Parameters: borderColor - -the outline color of the polygon Parameters: borderWidth - -the width of the outline the new polygon symbolizer |
createPolygonSymbolizer | public static PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill)(Code) | | create a polygon symbolizer
Parameters: stroke - -the stroke to use to outline the polygon Parameters: fill - -the fill to use to color the polygon the new polygon symbolizer |
createPolygonSymbolizer | public static PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill, PropertyPath geometryPropertyName)(Code) | | create a polygon symbolizer
Parameters: stroke - -the stroke to use to outline the polygon Parameters: fill - -the fill to use to color the polygon Parameters: geometryPropertyName - -the name of the geometry to be drawn the new polygon symbolizer |
createPolygonSymbolizer | public static PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill, PropertyPath geometryPropertyName, double min, double max)(Code) | | create a polygon symbolizer
Parameters: stroke - -the stroke to use to outline the polygon Parameters: fill - -the fill to use to color the polygon Parameters: geometryPropertyName - -the name of the geometry to be drawn Parameters: min - min scale denominator Parameters: max - max scale denominator the new polygon symbolizer |
createRule | public static Rule createRule(Symbolizer symbolizer)(Code) | | create a simple styling rule
Parameters: symbolizer - -the symbolizer to use the new rule |
createRule | public static Rule createRule(Symbolizer[] symbolizers)(Code) | | reate a simple styling rule
Parameters: symbolizers - -an array of symbolizers to use the new rule |
createRule | public static Rule createRule(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a simple styling rule, see the SLD Spec for more details of scaleDenominators
Parameters: symbolizer - -the symbolizer to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new rule |
createRule | public static Rule createRule(Symbolizer[] symbolizers, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a simple styling rule, see the SLD Spec for more details of scaleDenominators
Parameters: symbolizers - -an array of symbolizers to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new rule |
createRule | public static Rule createRule(Symbolizer[] symbolizers, String name, String title, String abstract_, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a simple styling rule, see the SLD Spec for more details of scaleDenominators
Parameters: symbolizers - -an array of symbolizers to use Parameters: name - -name of the rule Parameters: title - -title of the rule Parameters: abstract_ - -text describing throws rule Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new rule |
createRule | public static Rule createRule(Symbolizer[] symbolizers, String name, String title, String abstract_, LegendGraphic legendGraphic, Filter filter, boolean elseFilter, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a complex styling rule, see the SLD Spec for more details of scaleDenominators
Parameters: symbolizers - -an array of symbolizers to use Parameters: name - -name of the rule Parameters: title - -title of the rule Parameters: abstract_ - -text describing throws rule Parameters: filter - -filter to use with the rule Parameters: elseFilter - -true if the passed is an ElseFilter (see SLD spec) Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new rule |
createStaticTextSymbolizer | public static TextSymbolizer createStaticTextSymbolizer(Color color, Font font, String label)(Code) | | create a textsymbolizer which doesn't change
Parameters: color - the color of the text Parameters: font - the font to use Parameters: label - the label to use the new textsymbolizer |
createStaticTextSymbolizer | public static TextSymbolizer createStaticTextSymbolizer(Color color, Font[] fonts, String label)(Code) | | create a textsymbolizer which doesn't change
Parameters: color - the color of the text Parameters: fonts - an array of fonts to use from the first to last Parameters: label - the label to use the new textsymbolizer |
createStroke | public static Stroke createStroke()(Code) | | create a default Stroke that black, 1 pixel width, complete opaque, with round linejoin and
square line cap
the Stroke created |
createStroke | public static Stroke createStroke(double width)(Code) | | create a default stroke with the supplied width
Parameters: width - the width of the line the stroke created |
createStroke | public static Stroke createStroke(Color color)(Code) | | Create a default stroke with the supplied color
Parameters: color - the color of the line the created stroke |
createStroke | public static Stroke createStroke(Color color, double width)(Code) | | create a stroke with the passed width and color
Parameters: color - the color of the line Parameters: width - the width of the line the created stroke |
createStroke | public static Stroke createStroke(Color color, double width, String lineJoin, String lineCap)(Code) | | create a stroke with color, width, linejoin type and lineCap type.
Parameters: color - the color of the line Parameters: width - the width of the line Parameters: lineJoin - the type of join to be used at points along the line Parameters: lineCap - the type of cap to be used at the end of the line the stroke created |
createStroke | public static Stroke createStroke(Color color, double width, double opacity, float[] dashArray, String lineJoin, String lineCap)(Code) | | create a stroke with color, width, linejoin type and lineCap type.
Parameters: color - the color of the line Parameters: width - the width of the line Parameters: opacity - the opacity or see throughness of the line, 0 - is transparent, 1 iscompletely drawn Parameters: lineJoin - the type of join to be used at points along the line Parameters: lineCap - the type of cap to be used at the end of the line the stroke created |
createStroke | public static Stroke createStroke(Color color, double width, float[] dashArray)(Code) | | create a dashed line of color and width
Parameters: color - the color of the line Parameters: width - the width of the line Parameters: dashArray - an array of floats describing the length of line and spaces the stroke created |
createStroke | public static Stroke createStroke(Color color, double width, double opacity)(Code) | | create a stroke with color, width and opacity supplied
Parameters: color - the color of the line Parameters: width - the width of the line Parameters: opacity - the opacity or see throughness of the line, 0 - is transparent, 1 iscompletely drawn the stroke created |
createStyle | public static AbstractStyle createStyle(Symbolizer symbolizer)(Code) | | create a new style
Parameters: symbolizer - -the symbolizer to use the new style |
createStyle | public static AbstractStyle createStyle(Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a new style with name 'default'
Parameters: symbolizer - -the symbolizer to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new style |
createStyle | public static AbstractStyle createStyle(String name, Symbolizer symbolizer)(Code) | | create a new style
Parameters: name - -the name of the style Parameters: symbolizer - -the symbolizer to use the new style |
createStyle | public static AbstractStyle createStyle(String name, Symbolizer symbolizer, double minScaleDenominator, double maxScaleDenominator)(Code) | | create a new style
Parameters: name - -the name of the style Parameters: symbolizer - -the symbolizer to use Parameters: minScaleDenominator - -the minimim scale to draw the feature at Parameters: maxScaleDenominator - -the maximum scale to draw the feature at the new style |
createStyle | public static AbstractStyle createStyle(String name, String title, String abstract_, String featureTypeName, Rule[] rules)(Code) | | create a style
Parameters: name - -the name of the style Parameters: featureTypeName - -name of the feature type the Feature type style shall be assigned to Parameters: title - -title of the FeatureTypeStyle Parameters: abstract_ - -text describing the FeatureTypeStyle Parameters: rules - -rules contained in the featureTypeStyle the new style |
createStyle | public static AbstractStyle createStyle(String name, String title, String abstract_, FeatureTypeStyle featureTypeStyle)(Code) | | create a new style
Parameters: name - -the name of the style Parameters: title - -title of the style Parameters: abstract_ - -text describing the style Parameters: featureTypeStyle - -featureTypeStyle the new style |
createStyle | public static AbstractStyle createStyle(String name, String title, String abstract_, FeatureTypeStyle[] featureTypeStyles)(Code) | | create a new style
Parameters: name - -the name of the style Parameters: title - -title of the style Parameters: abstract_ - -text describing the style Parameters: featureTypeStyles - -featureTypeStyle the new style |
createStyle | public static AbstractStyle createStyle()(Code) | | create a new default style
the new style |
createTextSymbolizer | public static TextSymbolizer createTextSymbolizer(Color color, Font font, String attributeName, LabelPlacement labelPlacement)(Code) | | create a textsymbolizer
Parameters: color - the color of the text Parameters: font - the font to use Parameters: attributeName - the attribute to use for the label the new textsymbolizer |
createTextSymbolizer | public static TextSymbolizer createTextSymbolizer(PropertyPath geometryPropertyName, String attribute, LabelPlacement labelPlacement)(Code) | | create a textsymbolizer
Parameters: geometryPropertyName - geometry assigned to the TextSymbolizer Parameters: attribute - attribute to draw/print Parameters: labelPlacement - defines the placement of the text the new textsymbolizer |
createTextSymbolizer | public static TextSymbolizer createTextSymbolizer(PropertyPath geometryPropertyName, String attribute, Font font, LabelPlacement labelPlacement, Halo halo, Fill fill, double min, double max)(Code) | | create a textsymbolizer
Parameters: geometryPropertyName - geometry assigned to the TextSymbolizer Parameters: attribute - attribute to draw/print Parameters: font - font to use for the text Parameters: labelPlacement - defines the placement of the text Parameters: halo - halo/backgroud of the text Parameters: fill - color, opacity of the text Parameters: min - min scale denominator Parameters: max - max scale denominator the new textsymbolizer |
createTextSymbolizer | public static TextSymbolizer createTextSymbolizer(Geometry geometry, ParameterValueType label, Font font, LabelPlacement labelPlacement, Halo halo, Fill fill, double min, double max)(Code) | | create a textsymbolizer
Parameters: geometry - geometry assigned to the TextSymbolizer Parameters: label - attribute to draw/print Parameters: font - font to use for the text Parameters: labelPlacement - defines the placement of the text Parameters: halo - halo/backgroud of the text Parameters: fill - color, opacity of the text Parameters: min - min scale denominator Parameters: max - max scale denominator the new textsymbolizer |
|
|