Skip to content

Instantly share code, notes, and snippets.

@atebitftw
Created November 23, 2012 22:41
Show Gist options
  • Save atebitftw/4137606 to your computer and use it in GitHub Desktop.
Save atebitftw/4137606 to your computer and use it in GitHub Desktop.
Buckshot template on SVG Platform
<!-- notice the xmlns declaration for the '/svg' namespace -->
<template xmlns='http://buckshotui.org/platforms/svg'>
<!-- ... which brings all the SVG platform elements into scope -->
<group>
<rect x='10' y='10' width='100' height='50' fill='Blue' stroke='Black' strokewidth='3' />
<ellipse opacity='.75' cx='75' cy='75' rx='50' ry='100' fill='Orange' stroke='Black' strokewidth='5' />
</group>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment