Converting a Color object to its string representation
David Alayachew
davidalayachew at gmail.com
Sat Dec 9 20:40:25 UTC 2023
Apologies - java.util.HexFormat
That's what I get for firing from the hip, then looking afterwards.
On Sat, Dec 9, 2023, 3:38 PM David Alayachew <davidalayachew at gmail.com>
wrote:
> Doesn't HexDigits cover 3/4 of these cases?
>
> On Sat, Dec 9, 2023, 1:20 PM Michael Strauß <michaelstrau2 at gmail.com>
> wrote:
>
>> If we are going to revisit the `Color` class, maybe we want to provide
>> a more comprehensive string formatting API, for example:
>> - full-length web strings (e.g. "#ffad341c")
>> - compact web strings (e.g. "#ccc")
>> - with/without the leading #
>> - nearest named color ("darkgoldenrod")
>>
>>
>> On Sat, Dec 9, 2023 at 3:44 PM Eran Leshem <eran at leshem.life> wrote:
>> >
>> > Hello,
>> >
>> >
>> >
>> > Can I contribute an implementation for
>> https://bugs.openjdk.org/browse/JDK-8090778?
>> >
>> >
>> >
>> > Eran
>> >
>> >
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231209/598600db/attachment-0001.htm>
More information about the openjfx-dev
mailing list