Fill shape with a pattern

Hi,

I am drawing some shapes using java.awt.Shape, java.awt.geom.Area and java.awt.geom.GeneralPath and would like to know whether it's possible to fill these closed shapes with a color - or even better - with a pattern.

Thanks!

[248 byte] By [SFLa] at [2007-11-27 10:14:38]
# 1

er, yes, why not?

http://java.sun.com/docs/books/tutorial/2d/geometry/strokeandfill.html

-Puce

Pucea at 2007-7-28 15:34:34 > top of Java-index,Desktop,Core GUI APIs...