Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [gef-dev] Ghost shape, Mac OS X xor issue, and a possible solution

Hi!
 
>>>
2) Change FigureUtilities.makeGhostShape(..):
public static Shape makeGhostShape(Shape s) {
	s.setBackgroundColor(ghostFillColor);
	//s.setFillXOR(true);
	//s.setOutlineXOR(true);
	s.setAlpha(100); // or s.setAlpha(ghostAlpha)
	return s;
}
<<<

I'm not sure but from my understanding this would break existing clients
on platforms where setAlpha is not supported.

Cu, Gunnar


Back to the top