Interface LineSymbolizer

  • All Superinterfaces:
    Symbolizer

    @XmlElement("LineSymbolizer")
    public interface LineSymbolizer
    extends Symbolizer
    Gives directions for how to draw lines on a map.
    Since:
    GeoAPI 2.2
    • 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.
      • accept

        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