did you try put alpha to zero?

Le 27/12/14 04:10, Edward Povazan a écrit :
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 <hila...@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







Reply via email to