Leigh,
I removed the 2 lines and pasted in the example lines with a semi colon at
the end.
The result is a solid image, but no stroke.
Here's what I added:
// 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;
Can you see anything wrong?
Terry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:349958
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm