add information about expressions support

Stephan Bösch-Plepelits 2014-07-10 18:37:25 -07:00
parent 573a4878be
commit e076083bd9

@ -2,14 +2,14 @@
A LineSymbolizer is used to render a "stroke" along a linear geometry. A LineSymbolizer is used to render a "stroke" along a linear geometry.
| *parameter* | *value* | *description* | *unit* | *default* | | *parameter* | *value* | *description* | *unit* | *default* | *accepts expressions*
----------------|---------|----------------|-------|------------| ----------------|---------|----------------|-------|------------|--------------------|
| stroke | CSS colour | A Color value such as 'green' or #A3D979 | - | "black" | | 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 | | 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 | | 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 | | 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 | | 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 | | 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 ## Examples