Skip to content

Is there a reason AlphaColorValue does not inherit ColorValue? #44

@tomasaschan

Description

@tomasaschan

As the title states: is there a rationale behind the fact that the AlphaColorValue type doesn't inherit ColorValue?

If it did (and any required methods were implemented, of course) it would be trivial to e.g. get some opacity functionality in e.g. Gadfly just by using e.g. RGBA values instead of RGB.

If it's a non-trivial change, what more than just making AlphaColorValue inherit ColorValue would need to change? I know next to nothing about how these things are implemented, but if it makes sense to change this, and it's a relatively simple change, I'll gladly help out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions