[Cuis-dev] Color name
ken.dickey at whidbey.com
ken.dickey at whidbey.com
Sun Apr 12 11:13:05 PDT 2026
Feature require: 'Color-Extras'.
On 2026-04-12 08:34, Hilaire Fernandes via Cuis-dev wrote:
> 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/7e15b5a8/attachment-0001.htm>
More information about the Cuis-dev
mailing list