public abstract class AbstractStyleFactory extends Object implements StyleFactory
Constructor and Description |
---|
AbstractStyleFactory() |
Modifier and Type | Method and Description |
---|---|
abstract AnchorPoint |
createAnchorPoint(Expression x,
Expression y) |
abstract ColorMap |
createColorMap() |
abstract ColorMapEntry |
createColorMapEntry() |
abstract Displacement |
createDisplacement(Expression x,
Expression y) |
abstract ExternalGraphic |
createExternalGraphic(Icon inlineContent,
String format) |
abstract ExternalGraphic |
createExternalGraphic(String uri,
String format) |
abstract ExternalGraphic |
createExternalGraphic(URL url,
String format) |
abstract FeatureTypeStyle |
createFeatureTypeStyle() |
abstract FeatureTypeStyle |
createFeatureTypeStyle(Rule[] rules) |
abstract Fill |
createFill(Expression color) |
abstract Fill |
createFill(Expression color,
Expression opacity) |
abstract Fill |
createFill(Expression color,
Expression backgroundColor,
Expression opacity,
Graphic graphicFill) |
abstract Font |
createFont(Expression fontFamily,
Expression fontStyle,
Expression fontWeight,
Expression fontSize) |
abstract Graphic |
createGraphic(ExternalGraphic[] externalGraphics,
Mark[] marks,
Symbol[] symbols,
Expression opacity,
Expression size,
Expression rotation) |
abstract Halo |
createHalo(Fill fill,
Expression radius) |
abstract LinePlacement |
createLinePlacement(Expression offset) |
abstract LineSymbolizer |
createLineSymbolizer()
Create default line symbolizer
|
abstract LineSymbolizer |
createLineSymbolizer(Stroke stroke,
String geometryPropertyName) |
abstract Mark |
createMark() |
abstract Mark |
createMark(Expression wellKnownName,
Stroke stroke,
Fill fill,
Expression size,
Expression rotation) |
abstract NamedStyle |
createNamedStyle() |
abstract PointPlacement |
createPointPlacement(AnchorPoint anchorPoint,
Displacement displacement,
Expression rotation) |
abstract PointSymbolizer |
createPointSymbolizer() |
abstract PointSymbolizer |
createPointSymbolizer(Graphic graphic,
String geometryPropertyName) |
abstract PolygonSymbolizer |
createPolygonSymbolizer() |
abstract PolygonSymbolizer |
createPolygonSymbolizer(Stroke stroke,
Fill fill,
String geometryPropertyName) |
abstract RasterSymbolizer |
createRasterSymbolizer(String geometryPropertyName,
Expression opacity,
ChannelSelection channel,
Expression overlap,
ColorMap colorMap,
ContrastEnhancement ce,
ShadedRelief relief,
Symbolizer outline) |
abstract Rule |
createRule() |
abstract SelectedChannelType |
createSelectedChannelType(Expression name,
Expression enhancement) |
abstract SelectedChannelType |
createSelectedChannelType(String name,
ContrastEnhancement enhancement) |
abstract Stroke |
createStroke(Expression color,
Expression width)
A convienice method to make a simple stroke
|
abstract Stroke |
createStroke(Expression color,
Expression width,
Expression opacity)
A convienice method to make a simple stroke
|
abstract Stroke |
createStroke(Expression color,
Expression width,
Expression opacity,
Expression lineJoin,
Expression lineCap,
float[] dashArray,
Expression dashOffset,
Graphic graphicFill,
Graphic graphicStroke)
creates a stroke
|
abstract Style |
createStyle() |
abstract TextSymbolizer |
createTextSymbolizer() |
abstract TextSymbolizer |
createTextSymbolizer(Fill fill,
Font[] fonts,
Halo halo,
Expression label,
LabelPlacement labelPlacement,
String geometryPropertyName) |
abstract Mark |
getCircleMark()
Convinence method for obtaining a mark of a fixed shape
|
abstract Mark |
getCrossMark()
Convinence method for obtaining a mark of a fixed shape
|
abstract Fill |
getDefaultFill() |
abstract Font |
getDefaultFont() |
abstract Graphic |
getDefaultGraphic() |
abstract LineSymbolizer |
getDefaultLineSymbolizer() |
abstract Mark |
getDefaultMark() |
abstract PointPlacement |
getDefaultPointPlacement() |
abstract PointSymbolizer |
getDefaultPointSymbolizer() |
abstract PolygonSymbolizer |
getDefaultPolygonSymbolizer() |
abstract RasterSymbolizer |
getDefaultRasterSymbolizer() |
abstract Stroke |
getDefaultStroke() |
abstract Style |
getDefaultStyle() |
abstract TextSymbolizer |
getDefaultTextSymbolizer()
Creates a default Text Symbolizer, using the defaultFill, defaultFont and
defaultPointPlacement, Sets the geometry attribute name to be geometry:text.
|
Map<RenderingHints.Key,?> |
getImplementationHints()
Returns implementation hints for this factory.
|
abstract Mark |
getSquareMark()
Convinence method for obtaining a mark of a fixed shape
|
abstract Mark |
getStarMark()
Convinence method for obtaining a mark of a fixed shape
|
abstract Mark |
getTriangleMark()
Convinence method for obtaining a mark of a fixed shape
|
abstract Mark |
getXMark()
Convinence method for obtaining a mark of a fixed shape
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
anchorPoint, channelSelection, channelSelection, colorMap, colorReplacement, contrastEnhancement, createChannelSelection, createContrastEnhancement, createContrastEnhancement, createContrastMethod, createDefaultGraphic, createExtent, createFeatureTypeConstraint, createImageOutline, createLayerFeatureConstraints, createNamedLayer, createRasterSymbolizer, createRemoteOWS, createSelectedChannelType, createShadedRelief, createStyledLayerDescriptor, createUserLayer, description, displacement, extensionSymbolizer, externalGraphic, externalGraphic, externalMark, externalMark, featureTypeStyle, fill, font, graphic, graphicFill, graphicLegend, graphicStroke, halo, linePlacement, lineSymbolizer, mark, mark, pointPlacement, pointSymbolizer, polygonSymbolizer, rasterSymbolizer, rule, selectedChannelType, selectedChannelType, shadedRelief, stroke, stroke, stroke, style, textSymbolizer
contrastEnhancement
public abstract TextSymbolizer createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName)
public abstract ExternalGraphic createExternalGraphic(URL url, String format)
public abstract ExternalGraphic createExternalGraphic(String uri, String format)
public abstract ExternalGraphic createExternalGraphic(Icon inlineContent, String format)
public abstract AnchorPoint createAnchorPoint(Expression x, Expression y)
public abstract Displacement createDisplacement(Expression x, Expression y)
public abstract PointSymbolizer createPointSymbolizer()
public abstract Mark createMark(Expression wellKnownName, Stroke stroke, Fill fill, Expression size, Expression rotation)
public abstract Mark getCircleMark()
public abstract Mark getXMark()
public abstract Mark getStarMark()
public abstract Mark getSquareMark()
public abstract Mark getCrossMark()
public abstract Mark getTriangleMark()
public abstract FeatureTypeStyle createFeatureTypeStyle(Rule[] rules)
public abstract LinePlacement createLinePlacement(Expression offset)
public abstract PolygonSymbolizer createPolygonSymbolizer()
public abstract Halo createHalo(Fill fill, Expression radius)
public abstract Fill createFill(Expression color, Expression backgroundColor, Expression opacity, Graphic graphicFill)
public abstract LineSymbolizer createLineSymbolizer()
StyleFactory
public abstract PointSymbolizer createPointSymbolizer(Graphic graphic, String geometryPropertyName)
public abstract Style createStyle()
public abstract NamedStyle createNamedStyle()
public abstract Fill createFill(Expression color, Expression opacity)
public abstract Fill createFill(Expression color)
public abstract TextSymbolizer createTextSymbolizer()
public abstract PointPlacement createPointPlacement(AnchorPoint anchorPoint, Displacement displacement, Expression rotation)
public abstract Stroke createStroke(Expression color, Expression width)
color
- the color of the linewidth
- the width of the lineorg.geotools.stroke
public abstract Stroke createStroke(Expression color, Expression width, Expression opacity)
color
- the color of the linewidth
- The width of the lineopacity
- The opacity of the lineorg.geotools.stroke
public abstract Stroke createStroke(Expression color, Expression width, Expression opacity, Expression lineJoin, Expression lineCap, float[] dashArray, Expression dashOffset, Graphic graphicFill, Graphic graphicStroke)
color
- The color of the linewidth
- The width of the lineopacity
- The opacity of the linelineJoin
- - the type of Line jointlineCap
- - the type of line capdashArray
- - an array of floats describing the dashes in the linedashOffset
- - where in the dash array to start drawing fromgraphicFill
- - a graphic object to fill the line withgraphicStroke
- - a graphic object to draw the line withorg.geotools.stroke
public abstract Rule createRule()
public abstract LineSymbolizer createLineSymbolizer(Stroke stroke, String geometryPropertyName)
public abstract FeatureTypeStyle createFeatureTypeStyle()
public abstract Graphic createGraphic(ExternalGraphic[] externalGraphics, Mark[] marks, Symbol[] symbols, Expression opacity, Expression size, Expression rotation)
public abstract Font createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
public abstract Mark createMark()
public abstract PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill, String geometryPropertyName)
public abstract RasterSymbolizer createRasterSymbolizer(String geometryPropertyName, Expression opacity, ChannelSelection channel, Expression overlap, ColorMap colorMap, ContrastEnhancement ce, ShadedRelief relief, Symbolizer outline)
public abstract RasterSymbolizer getDefaultRasterSymbolizer()
public abstract SelectedChannelType createSelectedChannelType(Expression name, Expression enhancement)
public abstract SelectedChannelType createSelectedChannelType(String name, ContrastEnhancement enhancement)
public abstract ColorMap createColorMap()
public abstract ColorMapEntry createColorMapEntry()
public abstract Style getDefaultStyle()
public abstract Stroke getDefaultStroke()
public abstract Fill getDefaultFill()
public abstract Mark getDefaultMark()
public abstract PointSymbolizer getDefaultPointSymbolizer()
public abstract PolygonSymbolizer getDefaultPolygonSymbolizer()
public abstract LineSymbolizer getDefaultLineSymbolizer()
public abstract TextSymbolizer getDefaultTextSymbolizer()
public abstract Graphic getDefaultGraphic()
public abstract Font getDefaultFont()
public abstract PointPlacement getDefaultPointPlacement()
public Map<RenderingHints.Key,?> getImplementationHints()
getImplementationHints
in interface Factory
Copyright © 1996–2023 Geotools. All rights reserved.