xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas E Deweese <thomas.dewe...@kodak.com>
Subject Re: Using transparency over an underlying component
Date Tue, 12 Mar 2002 22:29:56 GMT
>>>>> "TW" == Todd Wilson <todd_wilson@byu.edu> writes:

TW> Unfortunately that just changed the background from white to
TW> black, instead of allowing the blue background of the underlying
TW> JFrame to show through.  Here's my revised code, just let me know
TW> if I'm misunderstanding anything:


TW> svgCanvas.setBackground( new Color( 0, 0, 0 ) );
                                       ^^^^^^^^^
     Three zeros is opaque black, four zeros (what I had in my message)
is transparent black.
    

---------------------------------------------------------------------
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