• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Transparent color over an image: how to prevent a hole?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transparent color over an image: how to prevent a hole?


  • Subject: Transparent color over an image: how to prevent a hole?
  • From: "Ujwal S. Sathyam" <email@hidden>
  • Date: Wed, 24 Sep 2003 08:59:23 -0700

Hi,

I have some text over an image, and I would like to make the text blink by periodically making it disappear. I tried to do this by setting the NSBackgroundColorAttributeName and NSForegroundColorAttributeName to [NSColor clearColor], but when I do this, the clear color goes right through the image and the window making a hole.

How do I get the transparency to stop at the image?

Thanks,

Ujwal
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Transparent color over an image: how to prevent a hole?
      • From: John Timmer <email@hidden>
  • Prev by Date: arbitrary document attributes and RTF?
  • Next by Date: RTF attributes
  • Previous by thread: arbitrary document attributes and RTF?
  • Next by thread: Re: Transparent color over an image: how to prevent a hole?
  • Index(es):
    • Date
    • Thread