|
Last change
on this file since 12575 was 12477, checked in by michael2402, 8 years ago |
|
See #15006: Fix sign issue (wrong direction) for text-offset-y on ways/areas
|
|
File size:
336 bytes
|
| Line | |
|---|
| 1 | canvas {
|
|---|
| 2 | default-points: false;
|
|---|
| 3 | default-lines: false;
|
|---|
| 4 | }
|
|---|
| 5 |
|
|---|
| 6 | area[test] {
|
|---|
| 7 | text: "name";
|
|---|
| 8 | text-color: blue;
|
|---|
| 9 | text-position: center;
|
|---|
| 10 | font-family: "DejaVu Sans";
|
|---|
| 11 | color: red;
|
|---|
| 12 | width: 1;
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
| 15 | area[test=C] {
|
|---|
| 16 | text-offset-x: 5;
|
|---|
| 17 | text-offset-y: -10.5;
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 | area[test=D] {
|
|---|
| 21 | text-offset: list(10.2, 20.5);
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | area[test=H] {
|
|---|
| 25 | text: eval("");
|
|---|
| 26 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.