colors

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRGB

func AddRGB(colors ...color.Color) color.Color

func Alpha added in v0.10.0

func Alpha(c color.Color) byte

func AlphaEqual

func AlphaEqual(c color.Color, val byte) bool

func AlphaGreaterThan

func AlphaGreaterThan(c color.Color, val byte) bool

func AlphaGreaterThanOrEqual

func AlphaGreaterThanOrEqual(c color.Color, val byte) bool

func AlphaLessThan

func AlphaLessThan(c color.Color, val byte) bool

func AlphaLessThanOrEqual

func AlphaLessThanOrEqual(c color.Color, val byte) bool

func Blue added in v0.10.0

func Blue(c color.Color) byte

func BlueEqual

func BlueEqual(c color.Color, val byte) bool

func BlueGreaterThan

func BlueGreaterThan(c color.Color, val byte) bool

func BlueGreaterThanOrEqual

func BlueGreaterThanOrEqual(c color.Color, val byte) bool

func BlueLessThan

func BlueLessThan(c color.Color, val byte) bool

func BlueLessThanOrEqual

func BlueLessThanOrEqual(c color.Color, val byte) bool

func Green added in v0.10.0

func Green(c color.Color) byte

func GreenEqual

func GreenEqual(c color.Color, val byte) bool

func GreenGreaterThan

func GreenGreaterThan(c color.Color, val byte) bool

func GreenGreaterThanOrEqual

func GreenGreaterThanOrEqual(c color.Color, val byte) bool

func GreenLessThan

func GreenLessThan(c color.Color, val byte) bool

func GreenLessThanOrEqual

func GreenLessThanOrEqual(c color.Color, val byte) bool

func MultiplyRGBByConstant

func MultiplyRGBByConstant(c color.Color, amount float64) color.Color

func MultiplyRGBComponents added in v0.10.0

func MultiplyRGBComponents(a, b color.Color) color.Color

func Red added in v0.10.0

func Red(c color.Color) byte

func RedEqual

func RedEqual(c color.Color, val byte) bool

func RedGreaterThan

func RedGreaterThan(c color.Color, val byte) bool

func RedGreaterThanOrEqual

func RedGreaterThanOrEqual(c color.Color, val byte) bool

func RedLessThan

func RedLessThan(c color.Color, val byte) bool

func RedLessThanOrEqual

func RedLessThanOrEqual(c color.Color, val byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL