[3488] in java-interest

home help back first fref pref prev next nref lref last post

Transparent Text/Canvas

daemon@ATHENA.MIT.EDU (William Cook)
Tue Nov 14 15:36:47 1995

Date: Tue, 14 Nov 1995 09:02:26 -0800
To: java-interest@java.Eng.Sun.COM
From: William Cook <william@luma.com>

Let me refine my question some more. What I really need is to be
able to draw "transparent text". That is, text that only draws the
characters, but does not fill in the background.  There are other
Components under the text component, and I don't want to do anything but
put text on top of them.

I am drawing my text using a subclass of Canvas. I am making
direct calls to the Graphics drawing routines. However, it seems that
my canvas is being painted with a background color first, even
though I override update(). Is there any way to prevent this?

I am using the Beta APIs on WindowsNT.

-william



-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post