Closed tomczylok closed 8 years ago
Extract color abstraction to another class.
I think it would be nice to provide builder for Image class so that you don't have to provide array of Color on your own.
I guess we need another implementation of a Color class. Which is GrayscaleColor.
Actually we could extend the approach with static fields to a flyweight design pattern, since this class is immutable, and actually a value object.
ok
@tomczylok please fix mentioned issues and open another pull request, this time to master.
26