[Mono-list] System.Drawing.Color.FromArgb(), why int parameters?

Stifu stifu at free.fr
Thu Aug 25 02:15:00 EDT 2011


Hi,

I have a quick question about the System.Drawing.Color.FromArgb() method
(which also applies to other similar methods).

http://msdn.microsoft.com/en-us/library/at1k42eh.aspx

Does anyone know why it takes int parameters, rather than bytes, considering
expected values should go from 0 to 255?

Thanks!

--
View this message in context: http://mono.1490590.n4.nabble.com/System-Drawing-Color-FromArgb-why-int-parameters-tp3767434p3767434.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list