nl.idgis.giserver
Class FlashLineSymbolizer

java.lang.Object
  extended by nl.idgis.giserver.FlashSymbolizer
      extended by nl.idgis.giserver.FlashLineSymbolizer

public class FlashLineSymbolizer
extends FlashSymbolizer

The FlashLineSymbolizer defines the context for geometry presention based on line(s).
The context place holder for the flash character will be filled.There is one line style in the context which will be constant for all LineSymbol based geometries for the concerning feature and will be evaluated at object creation.

Author:
bretelerjj

Constructor Summary
FlashLineSymbolizer(org.deegree.graphics.sld.Symbolizer symbolizer, org.deegree.model.feature.Feature feature)
          Constructor.
 
Method Summary
 void drawLine(nl.idgis.flash.FlashShape shape, java.util.Vector<long[]> line)
          Draw a line for the given collection of points, taking into account the line drawing mode Normal or Dashed.
 java.awt.Color getColorSpaceBase()
          Get the color which can be used as color space base in colorTransform calculations.
 nl.idgis.flash.FlashLineStyle getLineStyle()
          Getter current line style
 
Methods inherited from class nl.idgis.giserver.FlashSymbolizer
getFlashCharacter, getRotation, getScale, getSymbolizer, getTranslations, setFlashCharacter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashLineSymbolizer

public FlashLineSymbolizer(org.deegree.graphics.sld.Symbolizer symbolizer,
                           org.deegree.model.feature.Feature feature)
Constructor. Determine and create flash line style and fetch drawing mode (normal/dashed) from associated Symbolizer.

Parameters:
symbolizer -
feature -
Method Detail

getLineStyle

public nl.idgis.flash.FlashLineStyle getLineStyle()
Getter current line style

Returns:
lineStyle object , null => no lineStyle

drawLine

public void drawLine(nl.idgis.flash.FlashShape shape,
                     java.util.Vector<long[]> line)
              throws java.lang.Exception
Draw a line for the given collection of points, taking into account the line drawing mode Normal or Dashed.

Parameters:
shape - concerning flash shape object
line - collection of points defining the line.
Throws:
java.lang.Exception

getColorSpaceBase

public java.awt.Color getColorSpaceBase()
Description copied from class: FlashSymbolizer
Get the color which can be used as color space base in colorTransform calculations.

Overrides:
getColorSpaceBase in class FlashSymbolizer
Returns:
Color space base , null => no base possible