classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: request for comment on java2d stuff


From: graydon hoare
Subject: Re: request for comment on java2d stuff
Date: 18 Sep 2003 19:59:33 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Sascha Brawer <address@hidden> writes:

> Another quick comment: Shouldn't setColor also store the passed
> color into the paint field? From the Sun JavaDoc:

yup, and also:

>    public void setPaintMode () 
>    { 
> -    setComposite (java.awt.AlphaComposite.Xor); 
> +    setComposite(java.awt.AlphaComposite.SrcOver); 
>    }

yup. thanks for the sharp eyes, I guess I was thinking of the Xor
composite operator when I wrote that.

-graydon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]