colour

package
v0.0.0-...-cc5a67f Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Overview

Package colour implements a float64-based colour model.

Index

Constants

This section is empty.

Variables

View Source
var FloatNRGBAModel color.Model = color.ModelFunc(floatNrgbaModel)

FloatNRGBAModel implements the colour model for FloatRGBA colour data.

Functions

This section is empty.

Types

type FloatNRGBA

type FloatNRGBA struct {
	R float64
	G float64
	B float64
	A float64
}

FloatNRGBA represents a non-alpha-premultiplied float64 color.

func (FloatNRGBA) RGBA

func (c FloatNRGBA) RGBA() (r, g, b, a uint32)

Jump to

Keyboard shortcuts

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