That's a too specific constructor. Decoding of an HTML/XML color should be done in the parser and not in PdfContentByte. I can also argue that I need a constructor accepting an int and the RGB color should not be left out. Next will come the color decoding by name "red", "rot", "rouge", "rojo", "encarnado"?
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Monday, May 02, 2005 11:35 AM > To: Michael Glauche > Cc: iText Mail Group > Subject: Re: [iText-questions] Small enhancement for CMYKColor > > Michael Glauche wrote: > > > Hi, > > I often store values for CMYKColor as hexstrings, for example > > #000000ff. For using them in CMYKColor i made a additional > constructor > > OK, > I have added the constructor to the class in the CVS repository. > br, > Bruno > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 > great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions