-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
fromAlphaColour
method to Color class
This allows (partial) conversions in both directions, which I found necessary for implementing some lenses to set some color in a given style. Adding such a method seems generally unobjectionable to me.
- Loading branch information
Brent Yorgey
committed
Nov 14, 2013
1 parent
0088cbd
commit 9a89228
Showing
1 changed file
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters