xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ricardo Trindade" <Ricardo.Trind...@myrealbox.com>
Subject RE: canvas color
Date Tue, 09 Apr 2002 14:20:07 GMT
thanks

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

-----Original Message-----
From: Thomas E Deweese [mailto:thomas.deweese@kodak.com]
Sent: terca-feira, 9 de Abril de 2002 15:13
To: Batik Users
Subject: canvas color


>>>>> "RT" == Ricardo Trindade <Ricardo.Trindade@myrealbox.com> 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: batik-users-unsubscribe@xml.apache.org For
RT> additional commands, e-mail: batik-users-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message