Hi, I would guess for some sort of crazy API design guideline. Other than that, I can't see any reason.
Regards, Alex On Thu, Aug 25, 2011 at 8:15 AM, Stifu <[email protected]> wrote: > 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. > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
