Versions in this module Expand all Collapse all v1 v1.0.1 Jun 29, 2023 Changes in this version + const ColorMDim + type ColorM interface + Apply func(clr color.Color) color.Color + At func(i, j int) float32 + Concat func(other ColorM) ColorM + Elements func(body []float32, translate []float32) + Equals func(other ColorM) bool + Invert func() ColorM + IsIdentity func() bool + IsInvertible func() bool + Scale func(r, g, b, a float32) ColorM + ScaleOnly func() bool + String func() string + Translate func(r, g, b, a float32) ColorM + func ChangeHSV(c ColorM, hueTheta float64, saturationScale float32, valueScale float32) ColorM + func ColorMSetElement(c ColorM, i, j int, element float32) ColorM + type ColorMIdentity struct + func (c ColorMIdentity) Apply(clr color.Color) color.Color + func (c ColorMIdentity) At(i, j int) float32 + func (c ColorMIdentity) Concat(other ColorM) ColorM + func (c ColorMIdentity) Elements(body []float32, translate []float32) + func (c ColorMIdentity) Equals(other ColorM) bool + func (c ColorMIdentity) Invert() ColorM + func (c ColorMIdentity) IsIdentity() bool + func (c ColorMIdentity) IsInvertible() bool + func (c ColorMIdentity) Scale(r, g, b, a float32) ColorM + func (c ColorMIdentity) ScaleOnly() bool + func (c ColorMIdentity) String() string + func (c ColorMIdentity) Translate(r, g, b, a float32) ColorM