fix typo in Alpha doc

This commit is contained in:
faiface 2017-04-15 18:04:03 +02:00
parent 79b6412a14
commit 2b83dae1f4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ func RGB(r, g, b float64) RGBA {
return RGBA{r, g, b, 1}
}
// Alpha returns a while RGBA color with the given alpha component.
// Alpha returns a white RGBA color with the given alpha component.
func Alpha(a float64) RGBA {
return RGBA{a, a, a, a}
}