commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Created] (IMAGING-148) Add methods for deriving colors from another
Date Tue, 30 Dec 2014 11:34:13 GMT
Benedikt Ritter created IMAGING-148:

             Summary: Add methods for deriving colors from another
                 Key: IMAGING-148
             Project: Commons Imaging
          Issue Type: Improvement
            Reporter: Benedikt Ritter
             Fix For: Patch Needed

Sehr should be methods for creating a new color based on an existing instance but with one
component changed.


ColorCmyk cyan = new ColorCymk(100, 0, 0, 0);
ColorCmyk lime = cyan.withYellow(100);
assertEquals(lime.C, 100);
assertEquals(lime.Y, 100);

This message was sent by Atlassian JIRA

View raw message