Question about ImageMorph
Todd Blanchard
tblanchard at mac.com
Sun Aug 6 22:24:50 UTC 2006
The morph has the image as a Form. Calling form or image on an
ImageMorph will give you the form. Its the form you want to fiddle
with. You might try something like:
anImageMorph image: (ColorForm mappingWhiteToTransparentFrom:
anImageMorph image)
Or follow this method and figure out how to declare some other color
should be mapped to transparent.
-Todd Blanchard
On Aug 6, 2006, at 1:42 PM, Manas Dadarkar wrote:
> Hi,
> I have a ImageMorph that I am displaying at the top of another
> ImageMorph. The top ImageMorph has a white background. Is there any
> way I can make the background of the top ImageMorph transparent so
> that the ImageMorph at the back is also visibile? I tried using
> beTransparant: true but that didn't help.
>
> Thanks,
> -Manas
>
>
More information about the Squeak-dev
mailing list
|