org.opengis.style
Interface GraphicStroke

All Superinterfaces:
Graphic
All Known Subinterfaces:
Graphic
All Known Implementing Classes:
GraphicImpl

@XmlElement(value="GraphicStroke")
public interface GraphicStroke
extends Graphic

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

Since:
GeoAPI 2.2
Author:
Open Geospatial Consortium, Johann Sorel (Geomatys)

Method Summary
 Object accept(StyleVisitor visitor, Object extraData)
          Calls the visit method of a StyleVisitor
 Expression getGap()
          Gap gives the distance between two graphics.
 Expression getInitialGap()
          InitialGap specifies how far away the first graphic will be drawn relative to the start of the rendering line
 
Methods inherited from interface Graphic
getAnchorPoint, getDisplacement, getOpacity, getRotation, getSize, graphicalSymbols
 

Method Detail

getInitialGap

@XmlElement(value="InitialGap")
Expression getInitialGap()
InitialGap specifies how far away the first graphic will be drawn relative to the start of the rendering line

Returns:
Expression

getGap

@XmlElement(value="Gap")
Expression getGap()
Gap gives the distance between two graphics.

Returns:
Expression

accept

@Extension
Object accept(StyleVisitor visitor,
                        Object extraData)
Calls the visit method of a StyleVisitor

Specified by:
accept in interface Graphic
Parameters:
visitor - the style visitor


Copyright © 1996-2014 Geotools. All Rights Reserved.