LineSymbolizer

A LineSymbolizer is used to render a "stroke" along a linear geometry.

parameter value default
stroke CSS colour "black"
stroke-width 0.0 - n 1.0
stroke-opacity 0.0 - 1.0 1.0
stroke-linejoin miter, round, bevel miter
stroke-linecap round, butt, square butt
stroke-dasharray d0,d1, ... none

Parameters

The parameter stroke-linecap may take the following values: round, butt, square. Here is graphic explaining the difference.

The parameter stroke-dasharray consists of an array of values. A pair of values [a,b] corresponds to (a) the dash length and (b) the gap length respectively.

Examples

line_symbolizer_2.png

XML

<LineSymbolizer>
    <CssParameter name="stroke">#0000ff</CssParameter>
    <CssParameter name="stroke-width">4</CssParameter>
</LineSymbolizer>

Python

FIXME

C++

FIXME