Mercurial > laserkard
comparison defaults/bold-default.js @ 40:1ac1409ea68c laserkard
[svn r41] implemented dynamic text.
author | rlm |
---|---|
date | Mon, 25 Jan 2010 03:42:08 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
39:8b3b5753ad41 | 40:1ac1409ea68c |
---|---|
1 if(typeof alias != 'undefined' && typeof email != 'undefined' ) | |
2 { | |
3 alias.remove(); | |
4 email.remove(); | |
5 } | |
6 | |
7 alias = raphe.print(10, 150, 'James Bond', raphe.getFont('HelveticaNeue', 700), 75); | |
8 | |
9 | |
10 alias.attr('stroke', 'red'); | |
11 alias.attr('fill', 'none'); | |
12 | |
13 email = raphe.print(270, 270, 'jbond@mi6.co.uk', raphe.getFont('HelveticaNeue', 700), 25); | |
14 | |
15 | |
16 email.attr('stroke', 'red'); | |
17 email.attr('fill', 'none'); |