Skip to content

Instantly share code, notes, and snippets.

@tomthepythonist
Created February 16, 2011 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomthepythonist/830142 to your computer and use it in GitHub Desktop.
Save tomthepythonist/830142 to your computer and use it in GitHub Desktop.
var shape = r.rect(x, y, 100, 40, 2);
var label = r.text(x+50, y+20, devices[i]);
label.box = shape;
shape.label = label;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment