org.gwtopenmaps.openlayers.client.symbolizer
Class LineSymbolizerOptions

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.symbolizer.SymbolizerOptions
          extended by org.gwtopenmaps.openlayers.client.symbolizer.LineSymbolizerOptions

public class LineSymbolizerOptions
extends SymbolizerOptions

Author:
lorenzo

Constructor Summary
LineSymbolizerOptions()
           
 
Method Summary
 void setStrokeColor(String color)
          APIProperty: strokeColor {String} Color for line stroke.
 void setStrokeDashstyle(String dashstyle)
          Property: strokeDashstyle {String} Stroke dash style according to the SLD spec.
 void setStrokeLinecap(String linecap)
          APIProperty: strokeLinecap {String} Stroke cap type ("butt", "round", or "square").
 void setStrokeOpacity(double opacity)
          APIProperty: strokeOpacity {Number} Stroke opacity (0-1).
 void setStrokeWidth(int width)
          APIProperty: strokeWidth {Number} Pixel stroke width.
 
Methods inherited from class org.gwtopenmaps.openlayers.client.symbolizer.SymbolizerOptions
setZindex
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineSymbolizerOptions

public LineSymbolizerOptions()
Method Detail

setStrokeColor

public void setStrokeColor(String color)
APIProperty: strokeColor {String} Color for line stroke. This is a RGB hex value (e.g. "#ff0000" for red).


setStrokeOpacity

public void setStrokeOpacity(double opacity)
APIProperty: strokeOpacity {Number} Stroke opacity (0-1).


setStrokeWidth

public void setStrokeWidth(int width)
APIProperty: strokeWidth {Number} Pixel stroke width.


setStrokeLinecap

public void setStrokeLinecap(String linecap)
APIProperty: strokeLinecap {String} Stroke cap type ("butt", "round", or "square").


setStrokeDashstyle

public void setStrokeDashstyle(String dashstyle)
Property: strokeDashstyle {String} Stroke dash style according to the SLD spec. Note that the OpenLayers values for strokeDashstyle ("dot", "dash", "dashdot", "longdash", "longdashdot", or "solid") will not work in SLD, but most SLD patterns will render correctly in OpenLayers.



Copyright © 2011 sourceforge. All Rights Reserved.