thanks

I later discovered I could use setBackground(null) to make it transparent

-----Original Message-----
From: Thomas E Deweese [mailto:[EMAIL PROTECTED]]
Sent: terca-feira, 9 de Abril de 2002 15:13
To: Batik Users
Subject: canvas color


>>>>> "RT" == Ricardo Trindade <[EMAIL PROTECTED]> writes:

RT> I was wondering why the default background of the canvas is
RT> white ?

    What do you want it to be grey? Ugg!

RT>     How can I make it have no color, so it will have the color of
RT> the container ?

    Set the background color to transparent black: new Color(0, 0, 0, 0);
See archives for more complete example..

RT> thanks a lot Ricardo


RT> ---------------------------------------------------------------------
RT> To unsubscribe, e-mail: [EMAIL PROTECTED] For
RT> additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to