|
From: Nathaniel G. A. <nat...@ya...> - 2003-11-17 21:10:34
|
The complete source is not there, but some of it is; most of the samples use a Randomly generated Paint implementation. Take a look at the TestDataGenerator.getRandomPaint() method. You can do transparency by using: new Color( r, g, b, a ), where a = alpha Take a look at the javadocs for java.awt.Color for more info on that Constructor. --- "Campano, Troy" <Tro...@Li...> wrote: > Is there source code available for the samples at > http://jcharts.krysalis.org/samples/index.html ? > > I'm trying to get some nice looking colors and find out how the > transparency of colors is being done. > > > Thank you! > > ~ Troy Campano ~ > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree |