ajax.drawing.Colour.nameOfColor throws errors now.


Valued user:
Had to use new ajax.drawing.Colour(rValue, gValue, bValue) instead.
Closed Jan 11, 2009 at 12:06 AM by VR2
Fixed - I had in fact changed the color constants to be methods as colours are classes, and mutable, so a user could change the color of black (this affecting all code). So now the method sends back a NEW colour each time (like C# sending back a new/copy of a Color struct). I await feedback on this as I don't like the syntax.