deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.graphics.sld
Class GraphicStroke

java.lang.Object
  extended by org.deegree.graphics.sld.GraphicStroke

public class GraphicStroke
extends java.lang.Object

The GraphicStroke element both indicates that a repeated-linear-graphic stroke type will be used.

The Graphic sub-element specifies the linear graphic. Proper stroking with a linear graphic requires two hot-spot points within the space of the graphic to indicate where the rendering line starts and stops. In the case of raster images with no special mark-up, this line will be assumed to be middle pixel row of the image, starting from the first pixel column and ending at the last pixel column.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
GraphicStroke()
          default constructor
GraphicStroke(Graphic graphic)
          constructor initializing the class with the
 
Method Summary
 java.lang.String exportAsXML()
          exports the content of the GraphicStroke as XML formated String
 Graphic getGraphic()
          A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
 void setGraphic(Graphic graphic)
          sets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicStroke

GraphicStroke()
default constructor


GraphicStroke

GraphicStroke(Graphic graphic)
constructor initializing the class with the

Parameters:
graphic -
Method Detail

getGraphic

public Graphic getGraphic()
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size. A graphic can be very informally defined as a little picture and can be of either a raster or vector-graphic source type. The term graphic is used since the term symbol is similar to symbolizer which is used in a different context in SLD.

Returns:
graphic

setGraphic

public void setGraphic(Graphic graphic)
sets

Parameters:
graphic -

exportAsXML

public java.lang.String exportAsXML()
exports the content of the GraphicStroke as XML formated String

Returns:
xml representation of the GraphicStroke

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org