Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] using Background Pattern in Figures

I need to define different background pattern like „ //// or \\\\ or # …”

The problem I have is that I have different kind of figures rectangle, roundedRectangle, ellipse … and I want to make one implementation for all as possible.

 

Is there any way to do this with draw2d?

For rectangle it is simple, but for others figure is it not so. Draw2d graphic can only define a rectangle as a clip region. So I could draw the pattern on the rectangle and clip the figure to the figure structure.

 

Any help will be appreciated.

 

Thanks,

 

------------------------------------------------------------------------------------------------
Master.-Ing. Amir Bukhari

Software-Engineer
aquintos GmbH
integration experts
Sitz der Gesellschaft
Lammstraße 21
76133 Karlsruhe GERMANY
Handelsregister HRB-11145
Amtsgericht Karlsruhe
Geschäftsführer Markus Kühl, Dr. Clemens Reichmann
phone: 0721 / 516 38-34

fax: 0721 / 516 38-38
mobil: 0179 / 7318 737
Mail:
bukhari@xxxxxxxxxxxx
Web:
http://www.aquintos.com
------------------------------------------------------------------------------------------------

 


Back to the top