color

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:37 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alpha16RGBA

func Alpha16RGBA(c color.Alpha16) (uint32, uint32, uint32, uint32)

func AlphaRGBA

func AlphaRGBA(c color.Alpha) (uint32, uint32, uint32, uint32)

func CMYKRGBA

func CMYKRGBA(c color.CMYK) (uint32, uint32, uint32, uint32)

func CMYKToRGB

func CMYKToRGB(c, m, y, k uint8) (uint8, uint8, uint8)

func Gray16RGBA

func Gray16RGBA(c color.Gray16) (uint32, uint32, uint32, uint32)

func GrayRGBA

func GrayRGBA(c color.Gray) (uint32, uint32, uint32, uint32)

func ModelFunc

func ModelFunc(f func(color.Color) color.Color) color.Model

func NRGBA64RGBA

func NRGBA64RGBA(c color.NRGBA64) (uint32, uint32, uint32, uint32)

func NRGBARGBA

func NRGBARGBA(c color.NRGBA) (uint32, uint32, uint32, uint32)

func NYCbCrARGBA

func NYCbCrARGBA(c color.NYCbCrA) (uint32, uint32, uint32, uint32)

func PaletteConvert

func PaletteConvert(p color.Palette, c color.Color) color.Color

func PaletteIndex

func PaletteIndex(p color.Palette, c color.Color) int

func RGBA64RGBA

func RGBA64RGBA(c color.RGBA64) (uint32, uint32, uint32, uint32)

func RGBARGBA

func RGBARGBA(c color.RGBA) (uint32, uint32, uint32, uint32)

func RGBToCMYK

func RGBToCMYK(r, g, b uint8) (uint8, uint8, uint8, uint8)

func RGBToYCbCr

func RGBToYCbCr(r, g, b uint8) (uint8, uint8, uint8)

func YCbCrRGBA

func YCbCrRGBA(c color.YCbCr) (uint32, uint32, uint32, uint32)

func YCbCrToRGB

func YCbCrToRGB(y, cb, cr uint8) (uint8, uint8, uint8)

Types

This section is empty.

Jump to

Keyboard shortcuts

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