> With a few small changes, it could fill in the text shape with one color and 
> use setStroke to create a border of another color:
 
ie Change these two lines:

   graphics.setColor(textColor);
   graphics.draw(shape);

... to something like this

   // color in the text
   Color = createObject("java", "java.awt.Color");
   graphics.setColor( Color.decode("##80aa1c") ); 
   graphics.fill( shape );
   
   // create a thin border 
   stroke = createObject("java", "java.awt.BasicStroke").init( 1 );
   graphics.setStroke( stroke );
   graphics.setColor( Color.decode("##800080") );
   graphics

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349954
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to