Added an example of using a global tag

From the yaml spec
This commit is contained in:
Alex Gaynor
2016-12-07 09:16:51 -05:00
committed by Ian Cordasco
parent 989bfd7919
commit e09a1ee23e
+14
View File
@@ -0,0 +1,14 @@
%TAG ! tag:clarkevans.com,2002:
--- !shape
# Use the ! handle for presenting
# tag:clarkevans.com,2002:circle
- !circle
center: &ORIGIN {x: 73, y: 129}
radius: 7
- !line
start: *ORIGIN
finish: { x: 89, y: 102 }
- !label
start: *ORIGIN
color: 0xFFEEBB
text: Pretty vector drawing.