Thanks. It does work to add a little alpha to the colour, but is there no other way? If I want a solid colour, then what? I should be able to say âthis is a weird shaped morph, not a rectangleâ, but not seeing it. -Ed
On Dec 26, 2014, at 11:58 AM, Hilaire <hilaire@drgeo.eu> wrote:
Hello,
Morph color can be set to translucent, in your example it is problably set with ColorTranslucent r:g:b or a similar class. Not sure about the name.
Hilaire
Le 26/12/2014 20:43, Edward Povazan a écrit :
Hello,
In the PBE example, and CrossMorph is created. As can be seen from its name, It is has a cross shape.
When one adds keyboard handling to move it about, it seems the compositor thinks it is opaque, and doesnât repaint the ânot crossâ areas with whatever is behind the morph.
The result is the shape smears across the screen. This only occurs when moving exactly horizontally or vertically.
Iâve been looking over the Morph API but canât detect a method like #opaque: or #translucent: or similar.
Is this a bug, or am I missing the correct way to deal with transparent/irregular shaped morphs?
Thanks, -Ed
-- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu