diff 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
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/defaults/bold-default.js	Mon Jan 25 03:42:08 2010 -0500
     1.3 @@ -0,0 +1,17 @@
     1.4 +if(typeof alias != 'undefined' && typeof email != 'undefined' ) 
     1.5 +{
     1.6 +alias.remove();
     1.7 +email.remove();
     1.8 +}
     1.9 +
    1.10 +alias = raphe.print(10, 150, 'James Bond', raphe.getFont('HelveticaNeue', 700), 75);
    1.11 +
    1.12 +
    1.13 +alias.attr('stroke', 'red');
    1.14 +alias.attr('fill', 'none');
    1.15 +
    1.16 +email = raphe.print(270, 270, 'jbond@mi6.co.uk', raphe.getFont('HelveticaNeue', 700), 25);
    1.17 +
    1.18 +
    1.19 +email.attr('stroke', 'red');
    1.20 +email.attr('fill', 'none');