Updated LineSymbolizer (markdown)
parent
9fb6f35a4e
commit
43fc8ebb06
1 changed files with 4 additions and 0 deletions
|
@ -28,11 +28,15 @@ A LineSymbolizer is used to render a "stroke" along a linear geometry.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
l = LineSymbolizer(Color('green'),0.1)
|
l = LineSymbolizer(Color('green'),0.1)
|
||||||
|
```
|
||||||
To work directly with the stroke object:
|
To work directly with the stroke object:
|
||||||
|
|
||||||
|
```python
|
||||||
l = LineSymbolizer()
|
l = LineSymbolizer()
|
||||||
s = Stroke(Color('green'),0.1)
|
s = Stroke(Color('green'),0.1)
|
||||||
s.add_dash(.1,.1)
|
s.add_dash(.1,.1)
|
||||||
s.opacity = .5
|
s.opacity = .5
|
||||||
|
l.stroke = s
|
||||||
```
|
```
|
||||||
Fetch all the possible methods like:
|
Fetch all the possible methods like:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue