Hi
I want to draw polygon(s) and fill this polygon with image so that it is
like background pattern. In example if size of image is 10x10 pixel then
this will be repeated.
Some ideas?
Thx.
Knute Johnson - 19 Feb 2008 19:23 GMT
> Hi
> I want to draw polygon(s) and fill this polygon with image so that it is
[quoted text clipped - 3 lines]
> Some ideas?
> Thx.
Look at Graphics2D.clip(Shape s) and here is a really good article on
how to clip softly.
http://java.sun.com/mailers/techtips/corejava/2006/tt0923.html#1

Signature
Knute Johnson
email s/nospam/knute/
------->>>>>>http://www.NewsDem
Daniel Pitts - 19 Feb 2008 22:12 GMT
> Hi
> I want to draw polygon(s) and fill this polygon with image so that it is
[quoted text clipped - 3 lines]
> Some ideas?
> Thx.
Look up Graphics2D.setPaint and the TexturePaint class.

Signature
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>