|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.StyleFactory
org.geotools.styling.StyleFactoryImpl
Factory for creating Styles. All style elements are returned as Interfaces from org.geotools.core as opposed to Implementations from org.geotools.defaultcore.
Constructor Summary | |
StyleFactoryImpl()
|
Methods inherited from class org.geotools.styling.StyleFactory |
createStyleFactory, getImplementationHints |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StyleFactoryImpl()
Method Detail |
public Style createStyle()
createStyle
in class StyleFactory
public NamedStyle createNamedStyle()
createNamedStyle
in class StyleFactory
public PointSymbolizer createPointSymbolizer()
createPointSymbolizer
in class StyleFactory
public PointSymbolizer createPointSymbolizer(Graphic graphic, java.lang.String geometryPropertyName)
createPointSymbolizer
in class StyleFactory
public PolygonSymbolizer createPolygonSymbolizer()
createPolygonSymbolizer
in class StyleFactory
public PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill, java.lang.String geometryPropertyName)
createPolygonSymbolizer
in class StyleFactory
public LineSymbolizer createLineSymbolizer()
createLineSymbolizer
in class StyleFactory
public LineSymbolizer createLineSymbolizer(Stroke stroke, java.lang.String geometryPropertyName)
createLineSymbolizer
in class StyleFactory
public TextSymbolizer createTextSymbolizer()
createTextSymbolizer
in class StyleFactory
public TextSymbolizer createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, java.lang.String geometryPropertyName)
createTextSymbolizer
in class StyleFactory
public FeatureTypeStyle createFeatureTypeStyle()
createFeatureTypeStyle
in class StyleFactory
public FeatureTypeStyle createFeatureTypeStyle(Rule[] rules)
createFeatureTypeStyle
in class StyleFactory
public Rule createRule()
createRule
in class StyleFactory
public Stroke createStroke(Expression color, Expression width)
createStroke
in class StyleFactory
color
- the color of the linewidth
- the width of the line
org.geotools.stroke
public Stroke createStroke(Expression color, Expression width, Expression opacity)
createStroke
in class StyleFactory
color
- the color of the linewidth
- The width of the lineopacity
- The opacity of the line
org.geotools.stroke
public Stroke createStroke(Expression color, Expression width, Expression opacity, Expression lineJoin, Expression lineCap, float[] dashArray, Expression dashOffset, Graphic graphicFill, Graphic graphicStroke)
createStroke
in class StyleFactory
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 with
java.lang.IllegalArgumentException
- DOCUMENT ME!org.geotools.stroke
public Fill createFill(Expression color, Expression backgroundColor, Expression opacity, Graphic graphicFill)
createFill
in class StyleFactory
public Fill createFill(Expression color, Expression opacity)
createFill
in class StyleFactory
public Fill createFill(Expression color)
createFill
in class StyleFactory
public Mark createMark(Expression wellKnownName, Stroke stroke, Fill fill, Expression size, Expression rotation)
createMark
in class StyleFactory
public Mark getSquareMark()
StyleFactory
getSquareMark
in class StyleFactory
public Mark getCircleMark()
StyleFactory
getCircleMark
in class StyleFactory
public Mark getCrossMark()
StyleFactory
getCrossMark
in class StyleFactory
public Mark getXMark()
StyleFactory
getXMark
in class StyleFactory
public Mark getTriangleMark()
StyleFactory
getTriangleMark
in class StyleFactory
public Mark getStarMark()
StyleFactory
getStarMark
in class StyleFactory
public Mark createMark()
createMark
in class StyleFactory
public Graphic createGraphic(ExternalGraphic[] externalGraphics, Mark[] marks, Symbol[] symbols, Expression opacity, Expression size, Expression rotation)
createGraphic
in class StyleFactory
public ExternalGraphic createExternalGraphic(java.lang.String uri, java.lang.String format)
createExternalGraphic
in class StyleFactory
public ExternalGraphic createExternalGraphic(java.net.URL url, java.lang.String format)
createExternalGraphic
in class StyleFactory
public Font createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
createFont
in class StyleFactory
public LinePlacement createLinePlacement(Expression offset)
createLinePlacement
in class StyleFactory
public PointPlacement createPointPlacement(AnchorPoint anchorPoint, Displacement displacement, Expression rotation)
createPointPlacement
in class StyleFactory
public AnchorPoint createAnchorPoint(Expression x, Expression y)
createAnchorPoint
in class StyleFactory
public Displacement createDisplacement(Expression x, Expression y)
createDisplacement
in class StyleFactory
public Halo createHalo(Fill fill, Expression radius)
createHalo
in class StyleFactory
public Fill getDefaultFill()
getDefaultFill
in class StyleFactory
public LineSymbolizer getDefaultLineSymbolizer()
getDefaultLineSymbolizer
in class StyleFactory
public Mark getDefaultMark()
getDefaultMark
in class StyleFactory
public PointSymbolizer getDefaultPointSymbolizer()
getDefaultPointSymbolizer
in class StyleFactory
public PolygonSymbolizer getDefaultPolygonSymbolizer()
getDefaultPolygonSymbolizer
in class StyleFactory
public Stroke getDefaultStroke()
getDefaultStroke
in class StyleFactory
public Style getDefaultStyle()
getDefaultStyle
in class StyleFactory
public TextSymbolizer getDefaultTextSymbolizer()
getDefaultTextSymbolizer
in class StyleFactory
public Font getDefaultFont()
getDefaultFont
in class StyleFactory
public Graphic getDefaultGraphic()
getDefaultGraphic
in class StyleFactory
public PointPlacement getDefaultPointPlacement()
getDefaultPointPlacement
in class StyleFactory
public RasterSymbolizer createRasterSymbolizer(java.lang.String geometryPropertyName, Expression opacity, ChannelSelection channel, Expression overlap, ColorMap colorMap, ContrastEnhancement cenhancement, ShadedRelief relief, Symbolizer outline)
createRasterSymbolizer
in class StyleFactory
public RasterSymbolizer getDefaultRasterSymbolizer()
getDefaultRasterSymbolizer
in class StyleFactory
public ChannelSelection createChannelSelection(SelectedChannelType[] channels)
createChannelSelection
in class StyleFactory
public ColorMap createColorMap()
createColorMap
in class StyleFactory
public ColorMapEntry createColorMapEntry()
createColorMapEntry
in class StyleFactory
public SelectedChannelType createSelectedChannelType(java.lang.String name, Expression enhancement)
createSelectedChannelType
in class StyleFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |