diff --git a/LineSymbolizer.md b/LineSymbolizer.md index 5d3d5e5..6e205af 100644 --- a/LineSymbolizer.md +++ b/LineSymbolizer.md @@ -2,14 +2,14 @@ A LineSymbolizer is used to render a "stroke" along a linear geometry. -| *parameter* | *value* | *description* | *unit* | *default* | -----------------|---------|----------------|-------|------------| -| stroke | CSS colour | A Color value such as 'green' or #A3D979 | - | "black" | -| stroke-width | 0.0 - n | Width of line | pixels | 1.0 | -| stroke-opacity | 0.0 - 1.0 | 1 is fully opaque while zero is fully transparent and .5 would be 50% transparent| transparency | 1.0 | -| stroke-linejoin | miter, round, bevel | See [SVG stroke-linejoin](http://www.w3.org/TR/SVG/painting.html#StrokeLinejoinProperty) for an example for each value | - | miter | -| stroke-linecap | round, butt, square | See [SVG stroke-linecap](http://www.w3.org/TR/SVG/painting.html#StrokeLinecapProperty) for an example for each value | - | butt | -| stroke-dasharray | 0.0 - n,0.0 - n | A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported as well (e.g. to start the line not with a stroke, but with a gap). | pixels | none | +| *parameter* | *value* | *description* | *unit* | *default* | *accepts expressions* +----------------|---------|----------------|-------|------------|--------------------| +| stroke | CSS colour | A Color value such as 'green' or #A3D979 | - | "black" | mapnik >= 3.0 | +| stroke-width | 0.0 - n | Width of line | pixels | 1.0 | mapnik >= 3.0 | +| stroke-opacity | 0.0 - 1.0 | 1 is fully opaque while zero is fully transparent and .5 would be 50% transparent| transparency | 1.0 | mapnik >= 3.0 | +| stroke-linejoin | miter, round, bevel | See [SVG stroke-linejoin](http://www.w3.org/TR/SVG/painting.html#StrokeLinejoinProperty) for an example for each value | - | miter | no | +| stroke-linecap | round, butt, square | See [SVG stroke-linecap](http://www.w3.org/TR/SVG/painting.html#StrokeLinecapProperty) for an example for each value | - | butt | no | +| stroke-dasharray | 0.0 - n,0.0 - n | A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported as well (e.g. to start the line not with a stroke, but with a gap). | pixels | none | no | ## Examples