I am new to the group. I hope I do not violate any rules. Here is my
question:
I know that for org.eclipse.draw2d.graphics you can set the clipping area
by method setClip(Rectangle r), no painting occurs outside the rectangle r.
What I would like to do is to set a clipping area so that no drawing
inside this area will occur, only the outside of the specified rectangle
(or path) will be drawn.
Hi
You could try to use setClip(Path) construct the path as a "union" of two
paths.
However, I'd rather paint whatever you're trying to paint differently.