pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PIVOT-1046) Regularize ColorUtilities methods
Date Mon, 12 Aug 2019 23:02:00 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Roger Whitcomb resolved PIVOT-1046.
    Resolution: Fixed

> Regularize ColorUtilities methods
> ---------------------------------
>                 Key: PIVOT-1046
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1046
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
> The method names in ColorUtilities are a bit verbose, and not regular (in that there
is a method to add transparency, but not one to take it away).
> I propose to deprecate "setTransparencyInColor" and add "toTransparentColor" which does
the same thing with a "better" name. Then propose adding "toSolidColor" as the obverse. This
will regularize the functions in here better, while still leaving the old method (deprecated)
for backward compatibility.
> Next step would be changing all the callers to use the new method(s).

This message was sent by Atlassian JIRA

View raw message