Re: Color data type

Peter Ritchie <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <LISTSERV%[email protected]>
Same public values, I wasn't implying equality.

On Tue, 1 May 2007 15:55:43 -0400, Alex Ivanoff <[email protected]>
wrote:

>>Color.Empty is actually the same as Color.Black with a 0 Alpha.
>
>You are wrong:
>
>Color c1 = Color.FromArgb(0, Color.Black);
>Debug.Assert(c1 == Color.Empty);
>
>Valid color and Color.Empty have different (internal) state.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.