Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-1046

Regularize ColorUtilities methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • wtk
    • None

    Description

      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).

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: