org.gwtopenmaps.openlayers.client.style
Class SymbolizerLine

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.style.Symbolizer
          extended by org.gwtopenmaps.openlayers.client.style.SymbolizerLine
Direct Known Subclasses:
SymbolizerPolygon

public class SymbolizerLine
extends Symbolizer

Author:
Maciej Jezierski - Pinocchio Create a symbolizer for rendering lines.

Constructor Summary
  SymbolizerLine()
           
protected SymbolizerLine(JSObject object)
           
 
Method Summary
 String getDashstyle()
           
 String getLinecap()
           
 String getStorkeColor()
           
 double getStorkeOpacity()
           
 int getStorkeWidth()
           
 void setDashstyle(String dashstyle)
          Stroke dash style according to the SLD spec.
 void setLinecap(String linecap)
           
 void setStorkeColor(String color)
           
 void setStorkeOpacity(double opacity)
           
 void setStorkeWidth(int width)
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.style.Symbolizer
getZIndex, 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

SymbolizerLine

public SymbolizerLine()

SymbolizerLine

protected SymbolizerLine(JSObject object)
Method Detail

setStorkeColor

public void setStorkeColor(String color)

getStorkeColor

public String getStorkeColor()

setStorkeOpacity

public void setStorkeOpacity(double opacity)

getStorkeOpacity

public double getStorkeOpacity()

setStorkeWidth

public void setStorkeWidth(int width)

getStorkeWidth

public int getStorkeWidth()

setLinecap

public void setLinecap(String linecap)
Parameters:
linecap - Stroke cap type (“butt”, “round”, or “square”).

getLinecap

public String getLinecap()

setDashstyle

public void setDashstyle(String dashstyle)
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

Parameters:
dashstyle -

getDashstyle

public String getDashstyle()


Copyright © 2011 sourceforge. All Rights Reserved.