do actually need to check that the ranges are set

This commit is contained in:
Will Charczuk 2017-03-05 23:28:35 -08:00
parent 7a3d6a6915
commit ee78cf8f2f
2 changed files with 7 additions and 5 deletions

View file

@ -183,11 +183,6 @@ var (
DashArrayDashesLarge = []int{10, 10}
)
// NewColor returns a new color.
func NewColor(r, g, b, a uint8) drawing.Color {
return drawing.Color{R: r, G: g, B: b, A: a}
}
// GetDefaultColor returns a color from the default list by index.
// NOTE: the index will wrap around (using a modulo).
func GetDefaultColor(index int) drawing.Color {