Debian Codegraph @

test/data/renderer/node-shapes-combined/style.mapcss

raw
1
2 /**
3 * 3 Tests: relative symbol-stroke-width, alignment and stacking of stroke & fill for shapes
4 */
5 node[test=pentagon1]
6 {
7 symbol-shape: pentagon;
8 symbol-size: 50;
9 symbol-stroke-color: gold;
10 symbol-stroke-opacity: 0.9;
11 symbol-stroke-width: 10;
12 }
13 node[test=pentagon1]::stroke-casing
14 {
15 symbol-shape: pentagon;
16 symbol-size: 50;
17 symbol-stroke-color: #ddd;
18 symbol-stroke-opacity: 0.6;
19 symbol-stroke-width: +8;
20 z-index: -10;
21 }
22 node[test=pentagon1]::fill
23 {
24 symbol-shape: pentagon;
25 symbol-size: 50;
26 symbol-fill-color: darkblue;
27 symbol-fill-opacity: 1.0;
28 z-index: -15;
29 }
30 node[test=pentagon2]
31 {
32 symbol-shape: pentagon;
33 symbol-size: 50;
34 symbol-stroke-color: blue;
35 symbol-stroke-opacity: 0.9;
36 symbol-stroke-width: 10;
37 }
38 node[test=pentagon2]::fill-above
39 {
40 symbol-shape: pentagon;
41 symbol-size: 50;
42 symbol-fill-color: white;
43 symbol-fill-opacity: 0.3;
44 z-index: 2;
45 }
46 node[test=pentagon3]
47 {
48 symbol-shape: pentagon;
49 symbol-size: 50;
50 symbol-fill-color: darkgreen;
51 }
52 node[test=pentagon3]::stroke-above
53 {
54 symbol-shape: pentagon;
55 symbol-size: 50;
56 symbol-stroke-color: yellow;
57 symbol-stroke-width: 1.0;
58 z-index: 1;
59 }