Changeset 183:fac99def9ff6 in livinglogic.java.ul4

Show
Ignore:
Timestamp:
12/28/08 22:14:31 (10 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add a witha() method to Color.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/src/com/livinglogic/ul4/Color.java

    r182 r183  
    455455    } 
    456456 
     457    public Color witha(int a) 
     458    { 
     459        return new Color(r, g, b, a); 
     460    } 
     461 
    457462    // Collection interface 
    458463    public boolean add(Object o)