Updated LinePatternSymbolizer (markdown)

ThomasG77 2011-12-18 07:43:18 -08:00
parent fe5692f2c0
commit b06da011d9

@ -21,8 +21,7 @@ A natural=cliff tag on an OpenStreetMap tile, rendered with LinePatternSymbolize
#### XML #### XML
```xml ```xml
#!xml <LinePatternSymbolizer width="16" height="16" type="png" file="/path/to/icon.png"/>
<LinePatternSymbolizer width="16" height="16" type="png" file="/path/to/icon.png"/>
``` ```
@ -30,13 +29,12 @@ A natural=cliff tag on an OpenStreetMap tile, rendered with LinePatternSymbolize
```python ```python
#!python l = LinePatternSymbolizer('/path/to/icon.png','png',10,10) # file, type, width, height
l = LinePatternSymbolizer('/path/to/icon.png','png',10,10) # file, type, width, height
``` ```
#### C++ #### C++
```cpp
#!cpp
rule_type rule; rule_type rule;
rule.append(line_pattern_symbolizer("/path/to/icon.png", "png", 20, 20)); // file, type, width, height rule.append(line_pattern_symbolizer("/path/to/icon.png", "png", 20, 20)); // file, type, width, height
```