• 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
Re: Transparent color over an image: how to prevent a hole?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Transparent color over an image: how to prevent a hole?
  • From: email@hidden
  • Date: Wed, 24 Sep 2003 10:12:37 -0700 (PDT)

I tried that. Unfortunately, it still ends up as a completely transparent color
that goes right through the scrollview, image, and window.

My view hierarchy is:

Window->NSTabview->NSImageView->NSScrollView->NSTextView

Thanks,

Ujwal

On Wed, 24 Sep 2003 12:57:06 -0400, Bill Haller wrote:

>
> [NSColor colorWithCalibratedWhite:0.0 alpha:0.0]
>
> or any other color with the alpha set to 0.0
>
> Bill H
>
> On Wednesday, September 24, 2003, at 11:59 AM, Ujwal S. Sathyam wrote:
>
> > 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.
_______________________________________________
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.

  • Prev by Date: RTF attributes
  • Next by Date: Re: Objective-C Question
  • Previous by thread: RTF attributes
  • Next by thread: Re: Transparent color over an image: how to prevent a hole?
  • Index(es):
    • Date
    • Thread