Documentation ¶
Index ¶
- func AddRGB(colors ...color.Color) color.Color
- func Alpha(c color.Color) byte
- func AlphaEqual(c color.Color, val byte) bool
- func AlphaGreaterThan(c color.Color, val byte) bool
- func AlphaGreaterThanOrEqual(c color.Color, val byte) bool
- func AlphaLessThan(c color.Color, val byte) bool
- func AlphaLessThanOrEqual(c color.Color, val byte) bool
- func Blue(c color.Color) byte
- func BlueEqual(c color.Color, val byte) bool
- func BlueGreaterThan(c color.Color, val byte) bool
- func BlueGreaterThanOrEqual(c color.Color, val byte) bool
- func BlueLessThan(c color.Color, val byte) bool
- func BlueLessThanOrEqual(c color.Color, val byte) bool
- func Green(c color.Color) byte
- func GreenEqual(c color.Color, val byte) bool
- func GreenGreaterThan(c color.Color, val byte) bool
- func GreenGreaterThanOrEqual(c color.Color, val byte) bool
- func GreenLessThan(c color.Color, val byte) bool
- func GreenLessThanOrEqual(c color.Color, val byte) bool
- func LinearToSRGB(c float64) float64
- func MultiplyRGBByConstant(c color.Color, amount float64) color.Color
- func MultiplyRGBComponents(a, b color.Color) color.Color
- func Red(c color.Color) byte
- func RedEqual(c color.Color, val byte) bool
- func RedGreaterThan(c color.Color, val byte) bool
- func RedGreaterThanOrEqual(c color.Color, val byte) bool
- func RedLessThan(c color.Color, val byte) bool
- func RedLessThanOrEqual(c color.Color, val byte) bool
- func SRGBToLinear(c float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinearToSRGB ¶
From Three.js https://github.com/mrdoob/three.js/blob/e6f7c4e677cb8869502739da2640791d020d8d2f/src/math/ColorManagement.js#L12
func MultiplyRGBComponents ¶ added in v0.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.