[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: request for comment on java2d stuff
From: |
Sascha Brawer |
Subject: |
Re: request for comment on java2d stuff |
Date: |
Thu, 18 Sep 2003 16:56:27 +0200 |
graydon hoare <address@hidden> wrote on Tue, 2 Sep 2003 20:25:19 -0400:
>http://gcc.gnu.org/ml/java-patches/2003-q3/msg00493.html
Another quick comment: Shouldn't setColor also store the passed color
into the paint field? From the Sun JavaDoc:
> The Graphics class defines only the setColor method to control the
> color to be painted. Since the Java 2D API extends the Color object to
> implement the new Paint interface, the existing setColor method is now a
> convenience method for setting the current Paint attribute to a Color
> object. setColor(c) is equivalent to setPaint(c).
-- Sascha
Sascha Brawer, address@hidden, http://www.dandelis.ch/people/brawer/