Am grouping this issue within the Primitive MapScript Classes Project:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PrimitiveMapScriptClassesProject
To do:
- refactor colorObj constructor to take 3 optional RGB args (default to 0).
- add a setRGB method as in PHP-MapScript
- add a setHex method allowing
c = colorObj()
c.setHex('#ffffff')
- add a toHex method which returns the color as a hex string
Reporter: sgillies@frii.com Date: 2003/12/08 - 04:00