Interface LineSymbolizer

  • All Superinterfaces:
    Symbolizer
    All Known Subinterfaces:
    LineSymbolizer
    All Known Implementing Classes:
    LineSymbolizerImpl

    @XmlElement("LineSymbolizer")
    public interface LineSymbolizer
    extends Symbolizer
    Gives directions for how to draw lines on a map.
    Since:
    GeoAPI 2.2
    Author:
    Open Geospatial Consortium, Johann Sorel (Geomatys), Chris Dillard (SYS Technologies)
    • Method Detail

      • getStroke

        @XmlElement("Stroke")
        Stroke getStroke()
        Returns the object containing all the information necessary to draw styled lines.
        Returns:
        Stroke object, contain information about how to draw lines
      • getPerpendicularOffset

        @XmlElement("PerpendicularOffset")
        Expression getPerpendicularOffset()
        PerpendicularOffset allows to draw lines in parallel to the original geometry. For complex line strings these parallel lines have to be constructed so that the distance between original geometry and drawn line stays equal. This construction can result in drawn lines that are actually smaller or longer than the original geometry.

        The distance is in uoms and is positive to the left-hand side of the line string. Negative numbers mean right. The default offset is 0.

        Returns:
        Expression
      • accept

        @Extension
        Object accept​(StyleVisitor visitor,
                      Object extraData)
        Calls the visit method of a StyleVisitor
        Specified by:
        accept in interface Symbolizer
        Parameters:
        visitor - the style visitor
        Returns:
        value produced