Re: How to make an NSColor correspond to a grayscale value?
Re: How to make an NSColor correspond to a grayscale value?
- Subject: Re: How to make an NSColor correspond to a grayscale value?
- From: "Clark S. Cox III" <email@hidden>
- Date: Tue, 20 Aug 2002 17:27:15 -0400
On 08/20/2002 16:56, "Arthur VIGAN" <email@hidden> wrote:
>
Hi,
>
>
How can I make an NSColor represent a grayscale color, which value is
>
between 0 and 255?
[NSColor colorWithCalibratedWhite: value/255.0 alpha: 1.0];
--
Clark S. Cox III
_______________________________________________
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.