]> andersk Git - libyaml.git/blob - examples/global-tag.yaml
Added an example of using a global tag
[libyaml.git] / examples / global-tag.yaml
1 %TAG ! tag:clarkevans.com,2002:
2 --- !shape
3   # Use the ! handle for presenting
4   # tag:clarkevans.com,2002:circle
5 - !circle
6   center: &ORIGIN {x: 73, y: 129}
7   radius: 7
8 - !line
9   start: *ORIGIN
10   finish: { x: 89, y: 102 }
11 - !label
12   start: *ORIGIN
13   color: 0xFFEEBB
14   text: Pretty vector drawing.
This page took 0.029468 seconds and 5 git commands to generate.