πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #406

Re: How to write own fill patterns using Paint interface

#406
From: Tor Iver Wilhelmsen (TeamB)
Date: Fri, 07 Nov 2003 14:03
8 lines
1301 bytes
Marc NοΏ½dele <marc_1111@hotmail.com> writes:

> Are there any tutorials or sample classes which implement custom
> fill patterns? Or are there any free fill patterns?

You could try the ones that are included in the JRE: TexturePaint
(using images) and GradientPaint (for color transitions). Even old
java.awt.Color has been retrofitted into being a single-color Paint.
Technical Details
Message-ID: <uptg45l8j.fsf@ergo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3faa865a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1089d0,e8258dc727d39f14
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-11-07 06:09:13 PST
Sender: towi@SDSA3850
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: How to write own fill patterns using Paint interface
References: <3faa865a@newsgroups.borland.com>
From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB))
Date: 07 Nov 2003 15:03:40 +0100
Message-ID: <uptg45l8j.fsf@ergo.no>
Lines: 8
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 139.105.7.229
X-Trace: newsgroups.borland.com 1068213836 139.105.7.229 (7 Nov 2003 06:03:56 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail