Skip to content

Replace RGBAColor Trait with something more modern.#917

Merged
corranwebster merged 1 commit into
mainfrom
enh/better-rgba-color-trait
Mar 25, 2022
Merged

Replace RGBAColor Trait with something more modern.#917
corranwebster merged 1 commit into
mainfrom
enh/better-rgba-color-trait

Conversation

@corranwebster
Copy link
Copy Markdown
Contributor

@corranwebster corranwebster commented Mar 18, 2022

This is very similar to the PyfaceColor Trait in Pyface, except that the value held is a RGBA tuple.

This makes a few changes in the way that colors are parsed, using the parser from Pyface which is a but more accepting in what it recognizes, but should match all color names (since the Pyface names were copied from Enable). It also will accept a Pyface Color object and convert it to a tuple.

Part of #417, also relevant for #913 (but not all that is needed).

This is very similar to the PyfaceColor Trait in Pyface, except that the
value held is a RGBA tuple.
@corranwebster corranwebster merged commit 371c148 into main Mar 25, 2022
@corranwebster corranwebster deleted the enh/better-rgba-color-trait branch March 29, 2022 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants