[Cuis-dev] Color name

Hilaire Fernandes hfern at free.fr
Sun Apr 12 08:34:20 PDT 2026


Hi,

'Color red name' does not return 'red' anymore.

It seems #ColorNamesDict entry is gone from the class pool:

Color>>colorName
     "Return this color's name, or nil if it has no name. Only returns a 
name if it exactly matches the named color.
     Return nil if named color support is not present"

     Color classPool
         at: #ColorNamesDict
         ifPresent: [ :dict | ^dict keyAtValue: self ifAbsent: nil].
     ^nil

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260412/7822250f/attachment.htm>


More information about the Cuis-dev mailing list