From e09a1ee23e4238b3fffdc159e7f1ec3bb68169ed Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 7 Dec 2016 09:16:51 -0500 Subject: [PATCH] Added an example of using a global tag From the yaml spec --- examples/global-tag.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/global-tag.yaml diff --git a/examples/global-tag.yaml b/examples/global-tag.yaml new file mode 100644 index 0000000..1180757 --- /dev/null +++ b/examples/global-tag.yaml @@ -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. -- 2.45.1